output to textbox
authoramwaterhouse <Andrew Waterhouse>
Wed, 25 May 2005 16:43:47 +0000 (16:43 +0000)
committeramwaterhouse <Andrew Waterhouse>
Wed, 25 May 2005 16:43:47 +0000 (16:43 +0000)
src/jalview/jbgui/GTreePanel.java

index e7030b8..7fd33f0 100755 (executable)
@@ -21,6 +21,7 @@ public class GTreePanel extends JInternalFrame
   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
@@ -67,7 +68,7 @@ public class GTreePanel extends JInternalFrame
         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
@@ -84,7 +85,7 @@ public class GTreePanel extends JInternalFrame
       }\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
@@ -111,7 +112,7 @@ public class GTreePanel extends JInternalFrame
     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
@@ -119,10 +120,19 @@ public class GTreePanel extends JInternalFrame
         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
@@ -180,4 +190,9 @@ public class GTreePanel extends JInternalFrame
 \r
   }\r
 \r
+  public void textbox_actionPerformed(ActionEvent e)\r
+  {\r
+\r
+  }\r
+\r
 }\r