JMenu searchMenu = new JMenu();\r
protected JCheckBoxMenuItem abovePIDThreshold = new JCheckBoxMenuItem();\r
protected JCheckBoxMenuItem secondaryStructure = new JCheckBoxMenuItem();\r
+ protected JRadioButtonMenuItem nucleotideColour = new JRadioButtonMenuItem();\r
+ JMenuItem deleteGroups = new JMenuItem();\r
public GAlignFrame()\r
{\r
try\r
colours.add(userDefinedColour);\r
colours.add(PIDColour);\r
colours.add(BLOSUM62Colour);\r
+ colours.add(nucleotideColour);\r
}\r
private void jbInit() throws Exception\r
{\r
secondaryStructure_actionPerformed(actionEvent);\r
}\r
});\r
+ nucleotideColour.setText("Nucleotide colours");\r
+ nucleotideColour.addActionListener(new java.awt.event.ActionListener()\r
+ {\r
+ public void actionPerformed(ActionEvent e)\r
+ {\r
+ nucleotideColour_actionPerformed(e);\r
+ }\r
+ });\r
+ deleteGroups.setSelected(false);\r
+ deleteGroups.setText("Delete all groups");\r
+ deleteGroups.addActionListener(new java.awt.event.ActionListener()\r
+ {\r
+ public void actionPerformed(ActionEvent e)\r
+ {\r
+ deleteGroups_actionPerformed(e);\r
+ }\r
+ });\r
alignFrameMenuBar.add(fileMenu);\r
alignFrameMenuBar.add(editMenu);\r
alignFrameMenuBar.add(searchMenu);\r
editMenu.add(undoMenuItem);\r
editMenu.add(redoMenuItem);\r
editMenu.addSeparator();\r
+ editMenu.add(deleteGroups);\r
editMenu.add(groupsMenuItem);\r
editMenu.addSeparator();\r
editMenu.add(selectAllSequenceMenuItem);\r
colourMenu.add(strandColour);\r
colourMenu.add(turnColour);\r
colourMenu.add(buriedColour);\r
+ colourMenu.add(nucleotideColour);\r
colourMenu.add(userDefinedColour);\r
colourMenu.add(PIDColour);\r
colourMenu.add(BLOSUM62Colour);\r
{\r
\r
}\r
+\r
+ protected void nucleotideColour_actionPerformed(ActionEvent e)\r
+ {\r
+\r
+ }\r
+\r
+ protected void deleteGroups_actionPerformed(ActionEvent e)\r
+ {\r
+\r
+ }\r
+\r
+\r
}\r