Hi kiki.
The code below will update your java frame ("this") with the systems default look and feel. So, if you run it on Mac OS, and the look and feel is installed, it should look like a Mac OS application, i.e. in the correct "shape". You can place it in your frames constructor.
|
Code:
|
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
SwingUtilities.updateComponentTreeUI(this);
} catch (Exception e) {
// some problem you can handle if needed
} |
Also, you can take a look at the first Google result on
java mac os look and feel
Good luck kiki.