summaryrefslogtreecommitdiff
path: root/java/src
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2012-12-28 21:37:06 +0100
committerJose <jose@zeroc.com>2012-12-28 21:37:06 +0100
commitf2700bccdd5f79ff68d5ffe45d194cc53a7b1a4f (patch)
tree0a7bcc22c045776c9b691e9f7d5737f1b36e010f /java/src
parentFixed (ICE-5166) - Eclipse/FlashBuilder plug-in erros when translator fails t... (diff)
downloadice-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.java4
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");