diff options
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/IceGridGUI/Main.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/java/src/IceGridGUI/Main.java b/java/src/IceGridGUI/Main.java index dda11f2f90f..464fd984633 100644 --- a/java/src/IceGridGUI/Main.java +++ b/java/src/IceGridGUI/Main.java @@ -38,6 +38,10 @@ public class Main extends JFrame System.setProperty("com.apple.mrj.application.apple.menu.about.name", "IceGrid Admin"); UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); } + else if(System.getProperty("os.name").startsWith("Windows")) + { + UIManager.setLookAndFeel("com.jgoodies.looks.windows.WindowsLookAndFeel"); + } else // JGoodies L&F { UIManager.setLookAndFeel("com.jgoodies.looks.plastic.PlasticLookAndFeel"); |