JMenuItem pngTree = new JMenuItem();\r
JMenuItem epsTree = new JMenuItem();\r
JMenu saveAsMenu = new JMenu();\r
+ JMenuItem textbox = new JMenuItem();\r
\r
public GTreePanel()\r
{\r
fontSize_actionPerformed(e);\r
}\r
});\r
- bootstrapMenu.setText("Show Bootstrap values");\r
+ bootstrapMenu.setText("Show Bootstrap Values");\r
bootstrapMenu.addActionListener(new java.awt.event.ActionListener()\r
{\r
public void actionPerformed(ActionEvent e)\r
}\r
});\r
fitToWindow.setSelected(true);\r
- fitToWindow.setText("Fit to window");\r
+ fitToWindow.setText("Fit To Window");\r
fitToWindow.addActionListener(new java.awt.event.ActionListener()\r
{\r
public void actionPerformed(ActionEvent e)\r
saveAsMenu.setText("Save as");\r
placeholdersMenu.setToolTipText(\r
"Marks leaves of tree not associated with a sequence");\r
- placeholdersMenu.setText("Mark unlinked leaves");\r
+ placeholdersMenu.setText("Mark Unlinked Leaves");\r
placeholdersMenu.addActionListener(new ActionListener()\r
{\r
public void actionPerformed(ActionEvent e)\r
placeholdersMenu_actionPerformed(e);\r
}\r
});\r
+ textbox.setText("Output to Textbox...");\r
+ textbox.addActionListener(new ActionListener()\r
+ {\r
+ public void actionPerformed(ActionEvent e)\r
+ {\r
+ textbox_actionPerformed(e);\r
+ }\r
+ });\r
this.getContentPane().add(scrollPane, BorderLayout.CENTER);\r
jMenuBar1.add(jMenu1);\r
jMenuBar1.add(jMenu2);\r
jMenu1.add(saveAsMenu);\r
+ jMenu1.add(textbox);\r
jMenu1.add(printMenu);\r
jMenu2.add(fitToWindow);\r
jMenu2.add(fontSize);\r
\r
}\r
\r
+ public void textbox_actionPerformed(ActionEvent e)\r
+ {\r
+\r
+ }\r
+\r
}\r