Hi.
I have an app that is a class that extends JFrame. In the class's constructor, I've set the JFrame look and feel like so:
This code works. However, the JFrame also has some JButtons that do not seem to have acquired the windows look and feel. Specifically, the buttons have a flat appearance with square borders. Are there additional steps I need to take to make the buttons get the windows look and feel? I'm on windows xp.
Thanks much.
I have an app that is a class that extends JFrame. In the class's constructor, I've set the JFrame look and feel like so:
Code:
String windowsClassName = "com.sun.java.swing.plaf.windows.WindowsLookAndFeel";
UIManager.setLookAndFeel(windowsClassName);
This code works. However, the JFrame also has some JButtons that do not seem to have acquired the windows look and feel. Specifically, the buttons have a flat appearance with square borders. Are there additional steps I need to take to make the buttons get the windows look and feel? I'm on windows xp.
Thanks much.