SequenceI[] seq;\r
String type;\r
String pwtype;\r
- AlignViewport av;\r
int start;\r
int end;\r
TreeCanvas treeCanvas;\r
}\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
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
}\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
\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
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