dasSource = new DasSourceBrowser();\r
dasPanel.add(dasSource, BorderLayout.CENTER);\r
\r
- Desktop.addInternalFrame(frame, "Preferences", 490, 405);\r
- frame.setMinimumSize(new Dimension(490,395));\r
+ int width = 500, height = 420;\r
+ if(System.getProperty("os.name").startsWith("Mac"))\r
+ {\r
+ width = 570;\r
+ height = 460;\r
+ }\r
+\r
+ Desktop.addInternalFrame(frame, "Preferences", width, height);\r
+ frame.setMinimumSize(new Dimension(width, height));\r
\r
seqLimit.setSelected( Cache.getDefault("SHOW_JVSUFFIX", true));\r
fullScreen.setSelected( Cache.getDefault("SHOW_FULLSCREEN", false));\r
\r
smoothFont.setSelected(Cache.getDefault("ANTI_ALIAS", false));\r
\r
+ wrap.setSelected(Cache.getDefault("WRAP_ALIGNMENT", false));\r
+\r
gapSymbolCB.addItem("-");\r
gapSymbolCB.addItem(".");\r
\r
\r
Cache.applicationProperties.setProperty("ANTI_ALIAS", Boolean.toString(smoothFont.isSelected()));\r
\r
+ Cache.applicationProperties.setProperty("WRAP_ALIGNMENT", Boolean.toString(wrap.isSelected()));\r
+\r
Cache.applicationProperties.setProperty("STARTUP_FILE", startupFileTextfield.getText());\r
Cache.applicationProperties.setProperty("SHOW_STARTUP_FILE", Boolean.toString(startupCheckbox.isSelected()));\r
\r