/*\r
-* Jalview - A Sequence Alignment Editor and Viewer\r
-* Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
-*\r
-* This program is free software; you can redistribute it and/or\r
-* modify it under the terms of the GNU General Public License\r
-* as published by the Free Software Foundation; either version 2\r
-* of the License, or (at your option) any later version.\r
-*\r
-* This program is distributed in the hope that it will be useful,\r
-* but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
-* GNU General Public License for more details.\r
-*\r
-* You should have received a copy of the GNU General Public License\r
-* along with this program; if not, write to the Free Software\r
-* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA\r
-*/\r
-\r
+ * Jalview - A Sequence Alignment Editor and Viewer\r
+ * Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
+ *\r
+ * This program is free software; you can redistribute it and/or\r
+ * modify it under the terms of the GNU General Public License\r
+ * as published by the Free Software Foundation; either version 2\r
+ * of the License, or (at your option) any later version.\r
+ *\r
+ * This program is distributed in the hope that it will be useful,\r
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
+ * GNU General Public License for more details.\r
+ *\r
+ * You should have received a copy of the GNU General Public License\r
+ * along with this program; if not, write to the Free Software\r
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA\r
+ */\r
package jalview.jbgui;\r
\r
import java.awt.*;\r
-import javax.swing.*;\r
import java.awt.event.*;\r
+import javax.swing.*;\r
\r
-public class GTreePanel extends JInternalFrame\r
+public class GTreePanel\r
+ extends JInternalFrame\r
{\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
jbInit();\r
this.setJMenuBar(jMenuBar1);\r
}\r
- catch(Exception e)\r
+ catch (Exception e)\r
{\r
e.printStackTrace();\r
}\r
-\r
}\r
- private void jbInit() throws Exception\r
+\r
+ private void jbInit()\r
+ throws Exception\r
{\r
this.getContentPane().setLayout(borderLayout1);\r
this.setBackground(Color.white);\r
saveAsMenu.add(pngTree);\r
}\r
\r
-\r
- protected void printMenu_actionPerformed(ActionEvent e)\r
+ public void printMenu_actionPerformed(ActionEvent e)\r
{\r
-\r
}\r
\r
- protected void fontSize_actionPerformed(ActionEvent e)\r
+ public void fontSize_actionPerformed(ActionEvent e)\r
{\r
-\r
}\r
\r
- protected void distanceMenu_actionPerformed(ActionEvent e)\r
+ public void distanceMenu_actionPerformed(ActionEvent e)\r
{\r
-\r
}\r
\r
- protected void bootstrapMenu_actionPerformed(ActionEvent e)\r
+ public void bootstrapMenu_actionPerformed(ActionEvent e)\r
{\r
-\r
}\r
\r
- protected void fitToWindow_actionPerformed(ActionEvent e)\r
+ public void fitToWindow_actionPerformed(ActionEvent e)\r
{\r
-\r
}\r
\r
- protected void pngTree_actionPerformed(ActionEvent e)\r
+ public void pngTree_actionPerformed(ActionEvent e)\r
{\r
-\r
}\r
\r
- protected void epsTree_actionPerformed(ActionEvent e)\r
+ public void epsTree_actionPerformed(ActionEvent e)\r
{\r
-\r
}\r
\r
- protected void saveAsNewick_actionPerformed(ActionEvent e)\r
+ public void saveAsNewick_actionPerformed(ActionEvent e)\r
{\r
-\r
}\r
\r
- protected void placeholdersMenu_actionPerformed(ActionEvent e)\r
+ public void placeholdersMenu_actionPerformed(ActionEvent e)\r
{\r
-\r
}\r
\r
public void textbox_actionPerformed(ActionEvent e)\r
{\r
-\r
}\r
-\r
}\r