I know that Swing is platform independent. But JFrame running on Windows is different from one running on Mac OS or Linux. E.g. Windows has the standard red X close button, and Mac OS has those colorful circles.
So, why doesn't JFrame have its own Look-and-Fell like other Swing components? Is it because it uses AWT to communicate with native OS GUI? If so, why isn't JFrame an AWT component?
I am sorry if I am asking a stupid question, I am only a beginner...
Thanks
So, why doesn't JFrame have its own Look-and-Fell like other Swing components? Is it because it uses AWT to communicate with native OS GUI? If so, why isn't JFrame an AWT component?
I am sorry if I am asking a stupid question, I am only a beginner...
Thanks
