protected JMenu colourMenu = new JMenu();\r
protected JMenu calculateMenu = new JMenu();\r
protected JMenu webService = new JMenu();\r
+ protected JMenuItem webServiceNoServices;\r
protected JMenuItem selectAllSequenceMenuItem = new JMenuItem();\r
protected JMenuItem deselectAllSequenceMenuItem = new JMenuItem();\r
protected JMenuItem invertSequenceMenuItem = new JMenuItem();\r
public JCheckBoxMenuItem fullSeqId = new JCheckBoxMenuItem();\r
JMenuItem epsFile = new JMenuItem();\r
JMenuItem LoadtreeMenuItem = new JMenuItem();\r
- JMenuItem jnet = new JMenuItem();\r
public JCheckBoxMenuItem scaleAbove = new JCheckBoxMenuItem();\r
public JCheckBoxMenuItem scaleLeft = new JCheckBoxMenuItem();\r
public JCheckBoxMenuItem scaleRight = new JCheckBoxMenuItem();\r
protected JMenu sortByTreeMenu = new JMenu();\r
protected JMenu sort = new JMenu();\r
JMenu calculate = new JMenu();\r
- JMenuItem msaAlignMenuItem = new JMenuItem();\r
JMenu jMenu2 = new JMenu();\r
JMenuItem padGapsMenuitem = new JMenuItem();\r
- JMenuItem ClustalRealign = new JMenuItem();\r
protected ButtonGroup colours = new ButtonGroup();\r
\r
public GAlignFrame()\r
neighbourTreeMenuItem_actionPerformed(e);\r
}\r
});\r
- clustalAlignMenuItem.setText("Clustal Alignment");\r
- clustalAlignMenuItem.addActionListener(new java.awt.event.ActionListener()\r
- {\r
- public void actionPerformed(ActionEvent e)\r
- {\r
- clustalAlignMenuItem_actionPerformed(e);\r
- }\r
- });\r
this.getContentPane().setLayout(borderLayout1);\r
alignFrameMenuBar.setFont(new java.awt.Font("Verdana", 0, 11));\r
alignFrameMenuBar.addAncestorListener(new AncestorListener()\r
LoadtreeMenuItem_actionPerformed(e);\r
}\r
});\r
- jnet.setText("JNet");\r
- jnet.addActionListener(new java.awt.event.ActionListener()\r
- {\r
- public void actionPerformed(ActionEvent e)\r
- {\r
- jpred_actionPerformed(e);\r
- }\r
- });\r
scaleAbove.setVisible(false);\r
scaleAbove.setText("Scale Above");\r
scaleAbove.addActionListener(new java.awt.event.ActionListener()\r
sortByTreeMenu.setText("By Tree Order");\r
sort.setText("Sort");\r
calculate.setText("Calculate Tree");\r
- msaAlignMenuItem.setText("Muscle Alignment");\r
- msaAlignMenuItem.addActionListener(new java.awt.event.ActionListener()\r
- {\r
- public void actionPerformed(ActionEvent e)\r
- {\r
- msaAlignMenuItem_actionPerformed(e);\r
- }\r
- });\r
+\r
jMenu2.setText("Export");\r
padGapsMenuitem.setText("Pad Gaps");\r
padGapsMenuitem.addActionListener(new ActionListener()\r
padGapsMenuitem_actionPerformed(e);\r
}\r
});\r
- ClustalRealign.setText("Clustal Realign");\r
- ClustalRealign.addActionListener(new ActionListener()\r
- {\r
- public void actionPerformed(ActionEvent e)\r
- {\r
- ClustalRealign_actionPerformed(e);\r
- }\r
- });\r
alignFrameMenuBar.add(fileMenu);\r
alignFrameMenuBar.add(editMenu);\r
alignFrameMenuBar.add(searchMenu);\r
alignFrameMenuBar.add(viewMenu);\r
alignFrameMenuBar.add(colourMenu);\r
alignFrameMenuBar.add(calculateMenu);\r
+ alignFrameMenuBar.add(webService);\r
fileMenu.add(saveAlignmentMenu);\r
fileMenu.add(jMenu2);\r
fileMenu.add(outputTextboxMenu);\r
calculateMenu.addSeparator();\r
calculateMenu.add(pairwiseAlignmentMenuItem);\r
calculateMenu.add(PCAMenuItem);\r
- calculateMenu.addSeparator();\r
- calculateMenu.add(webService);\r
- webService.add(clustalAlignMenuItem);\r
- webService.add(msaAlignMenuItem);\r
- webService.add(jnet);\r
- webService.add(ClustalRealign);\r
+ webServiceNoServices=new JMenuItem("<No Services>");\r
+ webService.add(webServiceNoServices);\r
this.getContentPane().add(statusBar, BorderLayout.SOUTH);\r
jMenu1.add(pasteNew);\r
jMenu1.add(pasteThis);\r