JAL-3416 More tweaking of FlatLaf. Problem with macOS themed FlatLaf solved with...
[jalview.git] / src / jalview / gui / Desktop.java
index 6a67148..35c36fc 100644 (file)
@@ -502,11 +502,15 @@ public class Desktop extends jalview.jbgui.GDesktop
     // This line prevents Windows Look&Feel resizing all new windows to maximum
     // if previous window was maximised
     desktop.setDesktopManager(new MyDesktopManager(
-            (Platform.isWindowsAndNotJS() ? new DefaultDesktopManager()
+            /*
+               (Platform.isWindowsAndNotJS() ? new DefaultDesktopManager()
+             
                     : Platform.isAMacAndNotJS()
                             ? new AquaInternalFrameManager(
                                     desktop.getDesktopManager())
                             : desktop.getDesktopManager())));
+                            */
+            new DefaultDesktopManager()));
 
     Rectangle dims = getLastKnownDimensions("");
     if (dims != null)