+ // ugly hack: we have to set these properties before AWT loads
+ static {
+ System.setProperty("apple.awt.showGrowBox", "false");
+ System.setProperty("apple.awt.graphics.EnableLazyDrawing", "40");
+ System.setProperty("apple.awt.graphics.EnableLazyDrawing", "true");
+ System.setProperty("apple.awt.window.position.forceSafeUserPositioning", "true");
+ System.setProperty("apple.awt.window.position.forceSafeCreation", "true");
+ System.setProperty("com.apple.hwaccel", "true");
+ System.setProperty("com.apple.forcehwaccel", "true");
+ }
+