JMenuItem epsFile = new JMenuItem();
JMenuItem LoadtreeMenuItem = new JMenuItem();
JMenuItem jpred = new JMenuItem();
+ protected JCheckBoxMenuItem scaleAbove = new JCheckBoxMenuItem();
+ protected JCheckBoxMenuItem scaleLeft = new JCheckBoxMenuItem();
+ protected JCheckBoxMenuItem scaleRight = new JCheckBoxMenuItem();
public GAlignFrame()
{
jpred_actionPerformed(e);
}
});
+ scaleAbove.setVisible(false);
+ scaleAbove.setText("Scale above alignment");
+ scaleAbove.addActionListener(new java.awt.event.ActionListener()
+ {
+ public void actionPerformed(ActionEvent e)
+ {
+ scaleAbove_actionPerformed(e);
+ }
+ });
+ scaleLeft.setVisible(false);
+ scaleLeft.setSelected(true);
+ scaleLeft.setText("Scale left of sequence");
+ scaleLeft.addActionListener(new java.awt.event.ActionListener()
+ {
+ public void actionPerformed(ActionEvent e)
+ {
+ scaleLeft_actionPerformed(e);
+ }
+ });
+ scaleRight.setVisible(false);
+ scaleRight.setSelected(true);
+ scaleRight.setText("Scale right of sequence");
+ scaleRight.addActionListener(new java.awt.event.ActionListener()
+ {
+ public void actionPerformed(ActionEvent e)
+ {
+ scaleRight_actionPerformed(e);
+ }
+ });
alignFrameMenuBar.add(fileMenu);
alignFrameMenuBar.add(editMenu);
alignFrameMenuBar.add(searchMenu);
searchMenu.add(findMenuItem);
viewMenu.add(font);
viewMenu.add(fullSeqId);
+ viewMenu.addSeparator();
viewMenu.add(wrapMenuItem);
+ viewMenu.add(scaleAbove);
+ viewMenu.add(scaleLeft);
+ viewMenu.add(scaleRight);
+ viewMenu.addSeparator();
viewMenu.add(viewBoxesMenuItem);
viewMenu.add(viewTextMenuItem);
viewMenu.add(colourTextMenuItem);
}
+ protected void scaleAbove_actionPerformed(ActionEvent e)
+ {
+
+ }
+
+ protected void scaleLeft_actionPerformed(ActionEvent e)
+ {
+
+ }
+
+ protected void scaleRight_actionPerformed(ActionEvent e)
+ {
+
+ }
+
+
+
}