+ this.setLayout(borderLayout1);\r
+ ok.setText("OK");\r
+ ok.addActionListener(new ActionListener()\r
+ {\r
+ public void actionPerformed(ActionEvent e)\r
+ {\r
+ ok_actionPerformed(e);\r
+ }\r
+ });\r
+ cancel.setText("Cancel");\r
+ cancel.addActionListener(new ActionListener()\r
+ {\r
+ public void actionPerformed(ActionEvent e)\r
+ {\r
+ cancel_actionPerformed(e);\r
+ }\r
+ });\r
+ quality.setEnabled(false);\r
+ quality.setFont(verdana11);\r
+ quality.setHorizontalAlignment(SwingConstants.RIGHT);\r
+ quality.setHorizontalTextPosition(SwingConstants.LEFT);\r
+ quality.setSelected(true);\r
+ quality.setText("Quality");\r
+ visualTab.setBorder(new TitledBorder("Open new alignment"));\r
+ visualTab.setLayout(null);\r
+ fullScreen.setFont(verdana11);\r
+ fullScreen.setHorizontalAlignment(SwingConstants.RIGHT);\r
+ fullScreen.setHorizontalTextPosition(SwingConstants.LEFT);\r
+ fullScreen.setMargin(new Insets(2, 2, 2, 0));\r
+ fullScreen.setText("Maximise Window");\r
+ conservation.setEnabled(false);\r
+ conservation.setFont(verdana11);\r
+ conservation.setHorizontalAlignment(SwingConstants.RIGHT);\r
+ conservation.setHorizontalTextPosition(SwingConstants.LEFT);\r
+ conservation.setSelected(true);\r
+ conservation.setText("Conservation");\r
+ identity.setEnabled(false);\r
+ identity.setFont(verdana11);\r
+ identity.setHorizontalAlignment(SwingConstants.RIGHT);\r
+ identity.setHorizontalTextPosition(SwingConstants.LEFT);\r
+ identity.setSelected(true);\r
+ identity.setText("Consensus");\r
+ annotations.setFont(verdana11);\r
+ annotations.setHorizontalAlignment(SwingConstants.RIGHT);\r
+ annotations.setHorizontalTextPosition(SwingConstants.LEFT);\r
+ annotations.setMargin(new Insets(2, 4, 2, 0));\r
+ annotations.setSelected(true);\r
+ annotations.setText("Show Annotations");\r
+ annotations.addActionListener(new ActionListener()\r
+ {\r
+ public void actionPerformed(ActionEvent e)\r
+ {\r
+ annotations_actionPerformed(e);\r
+ }\r
+ });\r
+ gapLabel.setFont(verdana11);\r
+ gapLabel.setHorizontalAlignment(SwingConstants.RIGHT);\r
+ gapLabel.setText("Gap Symbol ");\r
+ colour.setFont(verdana11);\r
+ colour.setBounds(new Rectangle(170, 170, 155, 21));\r
+ colourLabel.setFont(verdana11);\r
+ colourLabel.setHorizontalAlignment(SwingConstants.RIGHT);\r
+ colourLabel.setText("Colour ");\r
+ fontLabel.setFont(verdana11);\r
+ fontLabel.setHorizontalAlignment(SwingConstants.RIGHT);\r
+ fontLabel.setText("Font ");\r
+ fontSizeCB.setFont(verdana11);\r
+ fontSizeCB.setBounds(new Rectangle(317, 111, 49, 21));\r
+ fontStyleCB.setFont(verdana11);\r
+ fontStyleCB.setBounds(new Rectangle(365, 111, 70, 21));\r
+ fontNameCB.setFont(verdana11);\r
+ fontNameCB.setBounds(new Rectangle(170, 111, 147, 21));\r
+ gapSymbolCB.setFont(verdana11);\r
+ gapSymbolCB.setBounds(new Rectangle(170, 141, 69, 21));\r
+ startupCheckbox.setText("Open file");\r
+ startupCheckbox.setFont(verdana11);\r
+ startupCheckbox.setHorizontalAlignment(SwingConstants.RIGHT);\r
+ startupCheckbox.setHorizontalTextPosition(SwingConstants.LEFT);\r
+ startupCheckbox.setSelected(true);\r
+ startupFileTextfield.setFont(verdana11);\r
+ startupFileTextfield.setBounds(new Rectangle(170, 232, 271, 20));\r
+ startupFileTextfield.addMouseListener(new MouseAdapter()\r
+ {\r
+ public void mouseClicked(MouseEvent e)\r
+ {\r
+ if (e.getClickCount() > 1)\r
+ {\r
+ startupFileTextfield_mouseClicked();\r
+ }\r
+ }\r
+ });\r
+\r
+ connectTab.setLayout(gridBagLayout3);\r
+ serverLabel.setText("Address");\r
+ serverLabel.setHorizontalAlignment(SwingConstants.RIGHT);\r
+ serverLabel.setFont(verdana11);\r
+ proxyServerTB.setFont(verdana11);\r
+ proxyPortTB.setFont(verdana11);\r
+ portLabel.setFont(verdana11);\r
+ portLabel.setHorizontalAlignment(SwingConstants.RIGHT);\r
+ portLabel.setText("Port");\r
+ browserLabel.setFont(new java.awt.Font("SansSerif", 0, 11));\r
+ browserLabel.setHorizontalAlignment(SwingConstants.TRAILING);\r
+ browserLabel.setText("Default Browser (Unix)");\r
+ defaultBrowser.setFont(verdana11);\r
+ defaultBrowser.setText("");\r
+ newLink.setText("New");\r
+ newLink.addActionListener(new java.awt.event.ActionListener() {\r
+ public void actionPerformed(ActionEvent e) {\r
+ newLink_actionPerformed(e);\r
+ }\r
+ });\r
+ editLink.setText("Edit");\r
+ editLink.addActionListener(new java.awt.event.ActionListener() {\r
+ public void actionPerformed(ActionEvent e) {\r
+ editLink_actionPerformed(e);\r
+ }\r
+ });\r
+ deleteLink.setText("Delete");\r
+ deleteLink.addActionListener(new java.awt.event.ActionListener() {\r
+ public void actionPerformed(ActionEvent e) {\r
+ deleteLink_actionPerformed(e);\r