/*\r
* Jalview - A Sequence Alignment Editor and Viewer\r
- * Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
+ * Copyright (C) 2006 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
*\r
* This program is free software; you can redistribute it and/or\r
* modify it under the terms of the GNU General Public License\r
static\r
{\r
String string = Cache.getDefault("SEQUENCE_LINKS",\r
- "SRS|http://srs.ebi.ac.uk/srs7bin/cgi-bin/wgetz?-e+[uniprot-all:$SEQUENCE_ID$]+-vn+2");\r
+ "SRS|http://srs.ebi.ac.uk/srsbin/cgi-bin/wgetz?-newId+(([uniprot-all:$SEQUENCE_ID$]))+-view+SwissEntry");\r
sequenceURLLinks = new Vector();\r
\r
try\r
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