X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=inline;f=src%2Fjalview%2Fjbgui%2FGTreePanel.java;h=c506fc6abb10b7d4c5ac94a7c3a5beac72445ed4;hb=77aeee47a94b906c0cd6a27e4317bba202e731f2;hp=2b2794670b6e663b19061fe8dc1c807c7a94e04f;hpb=4cea7a0328724b90a6a7c16ae8c926e0cc12cedd;p=jalview.git
diff --git a/src/jalview/jbgui/GTreePanel.java b/src/jalview/jbgui/GTreePanel.java
index 2b27946..c506fc6 100755
--- a/src/jalview/jbgui/GTreePanel.java
+++ b/src/jalview/jbgui/GTreePanel.java
@@ -1,28 +1,40 @@
/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8)
- * Copyright (C) 2012 J Procter, AM Waterhouse, LM Lui, J Engelhardt, G Barton, M Clamp, S Searle
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
*
* This file is part of Jalview.
*
* Jalview is free software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
+ * as published by the Free Software Foundation, either version 3
+ * of the License, or (at your option) any later version.
*
* Jalview is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with Jalview. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with Jalview. If not, see .
+ * The Jalview Authors are detailed in the 'AUTHORS' file.
*/
package jalview.jbgui;
import jalview.util.MessageManager;
-import java.awt.*;
-import java.awt.event.*;
-import javax.swing.*;
-import javax.swing.event.*;
+import java.awt.BorderLayout;
+import java.awt.Color;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+
+import javax.swing.JCheckBoxMenuItem;
+import javax.swing.JInternalFrame;
+import javax.swing.JMenu;
+import javax.swing.JMenuBar;
+import javax.swing.JMenuItem;
+import javax.swing.JScrollPane;
+import javax.swing.event.MenuEvent;
+import javax.swing.event.MenuListener;
public class GTreePanel extends JInternalFrame
{
@@ -115,12 +127,13 @@ public class GTreePanel extends JInternalFrame
{
}
});
- sortAssocViews.setText(MessageManager.getString("label.sort_alignment_by_tree"));
+ sortAssocViews.setText(
+ MessageManager.getString("label.sort_alignment_by_tree"));
sortAssocViews.addActionListener(new java.awt.event.ActionListener()
{
public void actionPerformed(ActionEvent e)
{
- sortByTree_actionPerformed(e);
+ sortByTree_actionPerformed();
}
});
font.setText(MessageManager.getString("action.font"));
@@ -131,7 +144,8 @@ public class GTreePanel extends JInternalFrame
font_actionPerformed(e);
}
});
- bootstrapMenu.setText(MessageManager.getString("label.show_bootstrap_values"));
+ bootstrapMenu.setText(
+ MessageManager.getString("label.show_bootstrap_values"));
bootstrapMenu.addActionListener(new java.awt.event.ActionListener()
{
public void actionPerformed(ActionEvent e)
@@ -173,9 +187,10 @@ public class GTreePanel extends JInternalFrame
}
});
saveAsMenu.setText(MessageManager.getString("action.save_as"));
- placeholdersMenu
- .setToolTipText(MessageManager.getString("label.marks_leaves_tree_not_associated_with_sequence"));
- placeholdersMenu.setText(MessageManager.getString("label.mark_unlinked_leaves"));
+ placeholdersMenu.setToolTipText(MessageManager.getString(
+ "label.marks_leaves_tree_not_associated_with_sequence"));
+ placeholdersMenu.setText(
+ MessageManager.getString("label.mark_unlinked_leaves"));
placeholdersMenu.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent e)
@@ -183,7 +198,7 @@ public class GTreePanel extends JInternalFrame
placeholdersMenu_actionPerformed(e);
}
});
- textbox.setText(MessageManager.getString("label.out_to_textbox") + "...");
+ textbox.setText(MessageManager.getString("label.out_to_textbox"));
textbox.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent e)
@@ -199,7 +214,8 @@ public class GTreePanel extends JInternalFrame
originalSeqData_actionPerformed(e);
}
});
- associateLeavesMenu.setText(MessageManager.getString("label.associate_leaves_with"));
+ associateLeavesMenu.setText(
+ MessageManager.getString("label.associate_leaves_with"));
this.getContentPane().add(scrollPane, BorderLayout.CENTER);
jMenuBar1.add(fileMenu);
jMenuBar1.add(viewMenu);
@@ -273,7 +289,7 @@ public class GTreePanel extends JInternalFrame
{
}
- public void sortByTree_actionPerformed(ActionEvent e)
+ public void sortByTree_actionPerformed()
{
}