Font change instead of font size
authoramwaterhouse <Andrew Waterhouse>
Wed, 14 Sep 2005 11:24:33 +0000 (11:24 +0000)
committeramwaterhouse <Andrew Waterhouse>
Wed, 14 Sep 2005 11:24:33 +0000 (11:24 +0000)
src/jalview/jbgui/GTreePanel.java

index 24e80b6..4301a75 100755 (executable)
@@ -32,7 +32,7 @@ public class GTreePanel
   JMenuItem saveAsNewick = new JMenuItem();\r
   JMenuItem printMenu = new JMenuItem();\r
   JMenu jMenu2 = new JMenu();\r
-  public JMenuItem fontSize = new JMenuItem();\r
+  public JMenuItem font = new JMenuItem();\r
   public JCheckBoxMenuItem bootstrapMenu = new JCheckBoxMenuItem();\r
   public JCheckBoxMenuItem distanceMenu = new JCheckBoxMenuItem();\r
   public JCheckBoxMenuItem fitToWindow = new JCheckBoxMenuItem();\r
@@ -80,12 +80,12 @@ public class GTreePanel
       }\r
     });\r
     jMenu2.setText("View");\r
-    fontSize.setText("Font Size - 12");\r
-    fontSize.addActionListener(new java.awt.event.ActionListener()\r
+    font.setText("Font...");\r
+    font.addActionListener(new java.awt.event.ActionListener()\r
     {\r
       public void actionPerformed(ActionEvent e)\r
       {\r
-        fontSize_actionPerformed(e);\r
+        font_actionPerformed(e);\r
       }\r
     });\r
     bootstrapMenu.setText("Show Bootstrap Values");\r
@@ -155,7 +155,7 @@ public class GTreePanel
     jMenu1.add(textbox);\r
     jMenu1.add(printMenu);\r
     jMenu2.add(fitToWindow);\r
-    jMenu2.add(fontSize);\r
+    jMenu2.add(font);\r
     jMenu2.add(distanceMenu);\r
     jMenu2.add(bootstrapMenu);\r
     jMenu2.add(placeholdersMenu);\r
@@ -168,7 +168,7 @@ public class GTreePanel
   {\r
   }\r
 \r
-  public void fontSize_actionPerformed(ActionEvent e)\r
+  public void font_actionPerformed(ActionEvent e)\r
   {\r
   }\r
 \r