try
{
- UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
+ if (Platform.isWin())
+ {
+ UIManager.setLookAndFeel(
+ headless ? "javax.swing.plaf.metal.MetalLookAndFeel"
+ : UIManager.getSystemLookAndFeelClassName());
+// UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
+ }
} catch (Exception ex)
{
System.err.println("Unexpected Look and Feel Exception");