Desktop.addInternalFrame(frame, "Preferences", 480, 390);\r
frame.setMinimumSize(new Dimension(480,390));\r
\r
- dbRef.setSelected( Cache.getDefault("SHOW_DBREF", true));\r
seqLimit.setSelected( Cache.getDefault("SHOW_JVSUFFIX", true));\r
fullScreen.setSelected( Cache.getDefault("SHOW_FULLSCREEN", false));\r
annotations.setSelected( Cache.getDefault("SHOW_ANNOTATIONS", true));\r
public void ok_actionPerformed(ActionEvent e)\r
{\r
\r
- Cache.applicationProperties.setProperty("SHOW_DBREF", Boolean.toString(dbRef.isSelected()));\r
Cache.applicationProperties.setProperty("SHOW_JVSUFFIX", Boolean.toString(seqLimit.isSelected()));\r
Cache.applicationProperties.setProperty("SHOW_FULLSCREEN", Boolean.toString(fullScreen.isSelected()));\r
\r
BorderLayout borderLayout1 = new BorderLayout();\r
protected JCheckBox quality = new JCheckBox();\r
JPanel visualTab = new JPanel();\r
- protected JCheckBox dbRef = new JCheckBox();\r
- protected JCheckBox fullScreen = new JCheckBox();\r
+ protected JCheckBox fullScreen = new JCheckBox();\r
protected JCheckBox conservation = new JCheckBox();\r
protected JCheckBox identity = new JCheckBox();\r
protected JCheckBox annotations = new JCheckBox();\r
quality.setText("Quality");\r
visualTab.setBorder(new TitledBorder("Open new alignment"));\r
visualTab.setLayout(null);\r
- dbRef.setFont(verdana11);\r
- dbRef.setHorizontalAlignment(SwingConstants.RIGHT);\r
- dbRef.setHorizontalTextPosition(SwingConstants.LEFT);\r
- dbRef.setMargin(new Insets(4, 2, 2, 0));\r
- dbRef.setText("DB prefix (DB|AccNo)");\r
fullScreen.setFont(verdana11);\r
fullScreen.setHorizontalAlignment(SwingConstants.RIGHT);\r
fullScreen.setHorizontalTextPosition(SwingConstants.LEFT);\r
pirjv.setFont(verdana11);\r
pirjv.setHorizontalAlignment(SwingConstants.LEFT);\r
seqLimit.setFont(new java.awt.Font("Verdana", Font.PLAIN, 11));\r
+ seqLimit.setHorizontalAlignment(SwingConstants.RIGHT);\r
seqLimit.setHorizontalTextPosition(SwingConstants.LEADING);\r
- seqLimit.setText("Sequence Limits (/1-350)");\r
- seqLimit.setBounds(new Rectangle(172, 82, 195, 23));\r
+ seqLimit.setText("Full Sequence Id");\r
gridLayout3.setRows(8);\r
jPanel2.add(fullScreen);\r
jPanel2.add(annotations);\r
- jPanel2.add(dbRef);\r
+ jPanel2.add(seqLimit);\r
jPanel2.add(fontLabel);\r
jPanel2.add(gapLabel);\r
jPanel2.add(colourLabel);\r
jPanel2.add(startupCheckbox);\r
visualTab.add(gapSymbolCB);\r
visualTab.add(colour);\r
- visualTab.add(seqLimit);\r
visualTab.add(jPanel3);\r
jPanel3.add(conservation);\r
jPanel3.add(identity);\r