diff options
author | Jose <jose@zeroc.com> | 2012-12-28 21:37:06 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2012-12-28 21:37:06 +0100 |
commit | f2700bccdd5f79ff68d5ffe45d194cc53a7b1a4f (patch) | |
tree | 0a7bcc22c045776c9b691e9f7d5737f1b36e010f /java/src | |
parent | Fixed (ICE-5166) - Eclipse/FlashBuilder plug-in erros when translator fails t... (diff) | |
download | ice-f2700bccdd5f79ff68d5ffe45d194cc53a7b1a4f.tar.bz2 ice-f2700bccdd5f79ff68d5ffe45d194cc53a7b1a4f.tar.xz ice-f2700bccdd5f79ff68d5ffe45d194cc53a7b1a4f.zip |
Fixed ICE-5109 - strange shadow in IceGridGUI graph
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"); |