protected now public
authoramwaterhouse <Andrew Waterhouse>
Tue, 14 Jun 2005 10:44:55 +0000 (10:44 +0000)
committeramwaterhouse <Andrew Waterhouse>
Tue, 14 Jun 2005 10:44:55 +0000 (10:44 +0000)
src/jalview/gui/TreePanel.java
src/jalview/jbgui/GTreePanel.java

index 2a8c9b4..3ba9cdd 100755 (executable)
@@ -39,7 +39,6 @@ public class TreePanel
   SequenceI[] seq;\r
   String type;\r
   String pwtype;\r
-  AlignViewport av;\r
   int start;\r
   int end;\r
   TreeCanvas treeCanvas;\r
@@ -221,19 +220,19 @@ public class TreePanel
     }\r
   }\r
 \r
-  protected void printMenu_actionPerformed(ActionEvent e)\r
+  public void printMenu_actionPerformed(ActionEvent e)\r
   {\r
     //Putting in a thread avoids Swing painting problems\r
     treeCanvas.startPrinting();\r
   }\r
 \r
-  protected void fitToWindow_actionPerformed(ActionEvent e)\r
+  public void fitToWindow_actionPerformed(ActionEvent e)\r
   {\r
     treeCanvas.fitToWindow = fitToWindow.isSelected();\r
     repaint();\r
   }\r
 \r
-  protected void fontSize_actionPerformed(ActionEvent e)\r
+  public void fontSize_actionPerformed(ActionEvent e)\r
   {\r
     if (treeCanvas == null)\r
     {\r
@@ -262,22 +261,22 @@ public class TreePanel
     scrollPane.setViewportView(treeCanvas);\r
   }\r
 \r
-  protected void distanceMenu_actionPerformed(ActionEvent e)\r
+  public void distanceMenu_actionPerformed(ActionEvent e)\r
   {\r
     treeCanvas.setShowDistances(distanceMenu.isSelected());\r
   }\r
 \r
-  protected void bootstrapMenu_actionPerformed(ActionEvent e)\r
+  public void bootstrapMenu_actionPerformed(ActionEvent e)\r
   {\r
     treeCanvas.setShowBootstrap(bootstrapMenu.isSelected());\r
   }\r
 \r
-  protected void placeholdersMenu_actionPerformed(ActionEvent e)\r
+  public void placeholdersMenu_actionPerformed(ActionEvent e)\r
   {\r
     treeCanvas.setMarkPlaceholders(placeholdersMenu.isSelected());\r
   }\r
 \r
-  protected void epsTree_actionPerformed(ActionEvent e)\r
+  public void epsTree_actionPerformed(ActionEvent e)\r
   {\r
     int width = treeCanvas.getWidth();\r
     int height = treeCanvas.getHeight();\r
@@ -320,7 +319,7 @@ public class TreePanel
     }\r
   }\r
 \r
-  protected void pngTree_actionPerformed(ActionEvent e)\r
+  public void pngTree_actionPerformed(ActionEvent e)\r
   {\r
     int width = treeCanvas.getWidth();\r
     int height = treeCanvas.getHeight();\r
index 5b8c6fa..088dbde 100755 (executable)
@@ -26,17 +26,17 @@ import javax.swing.*;
 \r
 public class GTreePanel extends JInternalFrame {\r
     BorderLayout borderLayout1 = new BorderLayout();\r
-    protected JScrollPane scrollPane = new JScrollPane();\r
+    public JScrollPane scrollPane = new JScrollPane();\r
     JMenuBar jMenuBar1 = new JMenuBar();\r
     JMenu jMenu1 = new JMenu();\r
     JMenuItem saveAsNewick = new JMenuItem();\r
     JMenuItem printMenu = new JMenuItem();\r
     JMenu jMenu2 = new JMenu();\r
-    protected JMenuItem fontSize = new JMenuItem();\r
-    protected JCheckBoxMenuItem bootstrapMenu = new JCheckBoxMenuItem();\r
-    protected JCheckBoxMenuItem distanceMenu = new JCheckBoxMenuItem();\r
-    protected JCheckBoxMenuItem fitToWindow = new JCheckBoxMenuItem();\r
-    protected JCheckBoxMenuItem placeholdersMenu = new JCheckBoxMenuItem();\r
+    public JMenuItem fontSize = new JMenuItem();\r
+    public JCheckBoxMenuItem bootstrapMenu = new JCheckBoxMenuItem();\r
+    public JCheckBoxMenuItem distanceMenu = new JCheckBoxMenuItem();\r
+    public JCheckBoxMenuItem fitToWindow = new JCheckBoxMenuItem();\r
+    public JCheckBoxMenuItem placeholdersMenu = new JCheckBoxMenuItem();\r
     JMenuItem pngTree = new JMenuItem();\r
     JMenuItem epsTree = new JMenuItem();\r
     JMenu saveAsMenu = new JMenu();\r
@@ -138,31 +138,31 @@ public class GTreePanel extends JInternalFrame {
         saveAsMenu.add(pngTree);\r
     }\r
 \r
-    protected void printMenu_actionPerformed(ActionEvent e) {\r
+    public void printMenu_actionPerformed(ActionEvent e) {\r
     }\r
 \r
-    protected void fontSize_actionPerformed(ActionEvent e) {\r
+    public void fontSize_actionPerformed(ActionEvent e) {\r
     }\r
 \r
-    protected void distanceMenu_actionPerformed(ActionEvent e) {\r
+    public void distanceMenu_actionPerformed(ActionEvent e) {\r
     }\r
 \r
-    protected void bootstrapMenu_actionPerformed(ActionEvent e) {\r
+    public void bootstrapMenu_actionPerformed(ActionEvent e) {\r
     }\r
 \r
-    protected void fitToWindow_actionPerformed(ActionEvent e) {\r
+    public void fitToWindow_actionPerformed(ActionEvent e) {\r
     }\r
 \r
-    protected void pngTree_actionPerformed(ActionEvent e) {\r
+    public void pngTree_actionPerformed(ActionEvent e) {\r
     }\r
 \r
-    protected void epsTree_actionPerformed(ActionEvent e) {\r
+    public void epsTree_actionPerformed(ActionEvent e) {\r
     }\r
 \r
-    protected void saveAsNewick_actionPerformed(ActionEvent e) {\r
+    public void saveAsNewick_actionPerformed(ActionEvent e) {\r
     }\r
 \r
-    protected void placeholdersMenu_actionPerformed(ActionEvent e) {\r
+    public void placeholdersMenu_actionPerformed(ActionEvent e) {\r
     }\r
 \r
     public void textbox_actionPerformed(ActionEvent e) {\r