- public void actionPerformed(ActionEvent e)\r
- {\r
- outputText_actionPerformed(e);\r
- }\r
- });\r
-\r
- outputTextboxMenu.add(item);\r
- }\r
- closeMenuItem.addActionListener(this);\r
- loadApplication.addActionListener(this);\r
-\r
- loadTree.addActionListener(this);\r
- loadAnnotations.addActionListener(this);\r
- outputFeatures.addActionListener(this);\r
- outputAnnotations.addActionListener(this);\r
- selectAllSequenceMenuItem.addActionListener(this);\r
- deselectAllSequenceMenuItem.addActionListener(this);\r
- invertSequenceMenuItem.addActionListener(this);\r
- remove2LeftMenuItem.setLabel("Remove Left");\r
- remove2LeftMenuItem.addActionListener(this);\r
- remove2RightMenuItem.setLabel("Remove Right");\r
- remove2RightMenuItem.addActionListener(this);\r
- removeGappedColumnMenuItem.setLabel("Remove Empty Columns");\r
- removeGappedColumnMenuItem.addActionListener(this);\r
- removeAllGapsMenuItem.setLabel("Remove All Gaps");\r
- removeAllGapsMenuItem.addActionListener(this);\r
- viewBoxesMenuItem.setLabel("Boxes");\r
- viewBoxesMenuItem.setState(true);\r
- viewBoxesMenuItem.addItemListener(this);\r
- viewTextMenuItem.setLabel("Text");\r
- viewTextMenuItem.setState(true);\r
- viewTextMenuItem.addItemListener(this);\r
- sortPairwiseMenuItem.setLabel("by Pairwise Identity");\r
- sortPairwiseMenuItem.addActionListener(this);\r
- sortIDMenuItem.setLabel("by ID");\r
- sortIDMenuItem.addActionListener(this);\r
- sortGroupMenuItem.setLabel("by Group");\r
- sortGroupMenuItem.addActionListener(this);\r
- removeRedundancyMenuItem.setLabel("Remove Redundancy...");\r
- removeRedundancyMenuItem.addActionListener(this);\r
- pairwiseAlignmentMenuItem.setLabel("Pairwise Alignments...");\r
- pairwiseAlignmentMenuItem.addActionListener(this);\r
- PCAMenuItem.setLabel("Principal Component Analysis");\r
- PCAMenuItem.addActionListener(this);\r
- averageDistanceTreeMenuItem.setLabel(\r
- "Average Distance Using % Identity");\r
- averageDistanceTreeMenuItem.addActionListener(this);\r
- neighbourTreeMenuItem.setLabel("Neighbour Joining Using % Identity");\r
- neighbourTreeMenuItem.addActionListener(this);\r
- statusBar.setBackground(Color.white);\r
- statusBar.setFont(new java.awt.Font("Verdana", 0, 11));\r
- statusBar.setText("Status bar");\r
- outputTextboxMenu.setLabel("Output to Textbox");\r
- clustalColour.setLabel("Clustalx");\r
-\r
- clustalColour.addActionListener(this);\r
- zappoColour.setLabel("Zappo");\r
- zappoColour.addActionListener(this);\r
- taylorColour.setLabel("Taylor");\r
- taylorColour.addActionListener(this);\r
- hydrophobicityColour.setLabel("Hydrophobicity");\r
- hydrophobicityColour.addActionListener(this);\r
- helixColour.setLabel("Helix Propensity");\r
- helixColour.addActionListener(this);\r
- strandColour.setLabel("Strand Propensity");\r
- strandColour.addActionListener(this);\r
- turnColour.setLabel("Turn Propensity");\r
- turnColour.addActionListener(this);\r
- buriedColour.setLabel("Buried Index");\r
- buriedColour.addActionListener(this);\r
- userDefinedColour.setLabel("User Defined...");\r
- userDefinedColour.addActionListener(this);\r
- PIDColour.setLabel("Percentage Identity");\r
- PIDColour.addActionListener(this);\r
- BLOSUM62Colour.setLabel("BLOSUM62 Score");\r
- BLOSUM62Colour.addActionListener(this);\r
- avDistanceTreeBlosumMenuItem.setLabel(\r
- "Average Distance Using BLOSUM62");\r
- avDistanceTreeBlosumMenuItem.addActionListener(this);\r
- njTreeBlosumMenuItem.setLabel("Neighbour Joining Using BLOSUM62");\r
- njTreeBlosumMenuItem.addActionListener(this);\r
- annotationPanelMenuItem.setLabel("Show Annotations");\r
- annotationPanelMenuItem.addItemListener(this);\r
- colourTextMenuItem.setLabel("Colour Text");\r
- colourTextMenuItem.addItemListener(this);\r
- overviewMenuItem.setLabel("Overview Window");\r
- overviewMenuItem.addActionListener(this);\r
- undoMenuItem.setEnabled(false);\r
- undoMenuItem.setLabel("Undo");\r
- undoMenuItem.addActionListener(this);\r
- redoMenuItem.setEnabled(false);\r
- redoMenuItem.setLabel("Redo");\r
- redoMenuItem.addActionListener(this);\r
- conservationMenuItem.setLabel("by Conservation");\r
- conservationMenuItem.addItemListener(this);\r
- noColourmenuItem.setLabel("None");\r
- noColourmenuItem.addActionListener(this);\r
- wrapMenuItem.setLabel("Wrap");\r
- wrapMenuItem.addItemListener(this);\r
- renderGapsMenuItem.setLabel("Show Gaps");\r
- renderGapsMenuItem.setState(true);\r
- renderGapsMenuItem.addItemListener(this);\r
- findMenuItem.setLabel("Find...");\r
- findMenuItem.addActionListener(this);\r
+ outputText_actionPerformed(e);\r
+ }\r
+ });\r
+\r
+ outputTextboxMenu.add(item);\r
+ }\r
+ closeMenuItem.addActionListener(this);\r
+ loadApplication.addActionListener(this);\r
+\r
+ loadTree.addActionListener(this);\r
+ loadAnnotations.addActionListener(this);\r
+ outputFeatures.addActionListener(this);\r
+ outputAnnotations.addActionListener(this);\r
+ selectAllSequenceMenuItem.addActionListener(this);\r
+ deselectAllSequenceMenuItem.addActionListener(this);\r
+ invertSequenceMenuItem.addActionListener(this);\r
+ remove2LeftMenuItem.setLabel("Remove Left");\r
+ remove2LeftMenuItem.addActionListener(this);\r
+ remove2RightMenuItem.setLabel("Remove Right");\r
+ remove2RightMenuItem.addActionListener(this);\r
+ removeGappedColumnMenuItem.setLabel("Remove Empty Columns");\r
+ removeGappedColumnMenuItem.addActionListener(this);\r
+ removeAllGapsMenuItem.setLabel("Remove All Gaps");\r
+ removeAllGapsMenuItem.addActionListener(this);\r
+ viewBoxesMenuItem.setLabel("Boxes");\r
+ viewBoxesMenuItem.setState(true);\r
+ viewBoxesMenuItem.addItemListener(this);\r
+ viewTextMenuItem.setLabel("Text");\r
+ viewTextMenuItem.setState(true);\r
+ viewTextMenuItem.addItemListener(this);\r
+ sortPairwiseMenuItem.setLabel("by Pairwise Identity");\r
+ sortPairwiseMenuItem.addActionListener(this);\r
+ sortIDMenuItem.setLabel("by ID");\r
+ sortIDMenuItem.addActionListener(this);\r
+ sortGroupMenuItem.setLabel("by Group");\r
+ sortGroupMenuItem.addActionListener(this);\r
+ removeRedundancyMenuItem.setLabel("Remove Redundancy...");\r
+ removeRedundancyMenuItem.addActionListener(this);\r
+ pairwiseAlignmentMenuItem.setLabel("Pairwise Alignments...");\r
+ pairwiseAlignmentMenuItem.addActionListener(this);\r
+ PCAMenuItem.setLabel("Principal Component Analysis");\r
+ PCAMenuItem.addActionListener(this);\r
+ averageDistanceTreeMenuItem.setLabel(\r
+ "Average Distance Using % Identity");\r
+ averageDistanceTreeMenuItem.addActionListener(this);\r
+ neighbourTreeMenuItem.setLabel("Neighbour Joining Using % Identity");\r
+ neighbourTreeMenuItem.addActionListener(this);\r
+ statusBar.setBackground(Color.white);\r
+ statusBar.setFont(new java.awt.Font("Verdana", 0, 11));\r
+ statusBar.setText("Status bar");\r
+ outputTextboxMenu.setLabel("Output to Textbox");\r
+ clustalColour.setLabel("Clustalx");\r
+\r
+ clustalColour.addActionListener(this);\r
+ zappoColour.setLabel("Zappo");\r
+ zappoColour.addActionListener(this);\r
+ taylorColour.setLabel("Taylor");\r
+ taylorColour.addActionListener(this);\r
+ hydrophobicityColour.setLabel("Hydrophobicity");\r
+ hydrophobicityColour.addActionListener(this);\r
+ helixColour.setLabel("Helix Propensity");\r
+ helixColour.addActionListener(this);\r
+ strandColour.setLabel("Strand Propensity");\r
+ strandColour.addActionListener(this);\r
+ turnColour.setLabel("Turn Propensity");\r
+ turnColour.addActionListener(this);\r
+ buriedColour.setLabel("Buried Index");\r
+ buriedColour.addActionListener(this);\r
+ userDefinedColour.setLabel("User Defined...");\r
+ userDefinedColour.addActionListener(this);\r
+ PIDColour.setLabel("Percentage Identity");\r
+ PIDColour.addActionListener(this);\r
+ BLOSUM62Colour.setLabel("BLOSUM62 Score");\r
+ BLOSUM62Colour.addActionListener(this);\r
+ avDistanceTreeBlosumMenuItem.setLabel(\r
+ "Average Distance Using BLOSUM62");\r
+ avDistanceTreeBlosumMenuItem.addActionListener(this);\r
+ njTreeBlosumMenuItem.setLabel("Neighbour Joining Using BLOSUM62");\r
+ njTreeBlosumMenuItem.addActionListener(this);\r
+ annotationPanelMenuItem.setLabel("Show Annotations");\r
+ annotationPanelMenuItem.addItemListener(this);\r
+ colourTextMenuItem.setLabel("Colour Text");\r
+ colourTextMenuItem.addItemListener(this);\r
+ overviewMenuItem.setLabel("Overview Window");\r
+ overviewMenuItem.addActionListener(this);\r
+ undoMenuItem.setEnabled(false);\r
+ undoMenuItem.setLabel("Undo");\r
+ undoMenuItem.addActionListener(this);\r
+ redoMenuItem.setEnabled(false);\r
+ redoMenuItem.setLabel("Redo");\r
+ redoMenuItem.addActionListener(this);\r
+ conservationMenuItem.setLabel("by Conservation");\r
+ conservationMenuItem.addItemListener(this);\r
+ noColourmenuItem.setLabel("None");\r
+ noColourmenuItem.addActionListener(this);\r
+ wrapMenuItem.setLabel("Wrap");\r
+ wrapMenuItem.addItemListener(this);\r
+ renderGapsMenuItem.setLabel("Show Gaps");\r
+ renderGapsMenuItem.setState(true);\r
+ renderGapsMenuItem.addItemListener(this);\r
+ findMenuItem.setLabel("Find...");\r
+ findMenuItem.addActionListener(this);\r