setTitle("Jalview 2005");\r
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r
desktop = new JDesktopPane();\r
- desktop.setBackground(new Color(220,220,230));\r
+ // desktop.setBackground(Color.white);\r
setContentPane(desktop);\r
desktop.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);\r
+\r
+\r
+ // This line prevents Windows Look&Feel resizing all new windows to maximum\r
+ // if previous window was maximised\r
desktop.setDesktopManager( new DefaultDesktopManager() );\r
\r
+\r
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();\r
String x = jalview.bin.Cache.getProperty("SCREEN_X");\r
String y = jalview.bin.Cache.getProperty("SCREEN_Y");\r