JAL-1620 version bump and release notes
[jalview.git] / src / jalview / gui / TreeCanvas.java
index 37bb6e9..9660f82 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2)
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2b1)
  * Copyright (C) 2014 The Jalview Authors
  * 
  * This file is part of Jalview.
@@ -611,7 +611,8 @@ public class TreeCanvas extends JPanel implements MouseListener, Runnable,
 
     if (tree == null)
     {
-      g.drawString(MessageManager.getString("label.calculating_tree") + "....", 20, getHeight() / 2);
+      g.drawString(MessageManager.getString("label.calculating_tree")
+              + "....", 20, getHeight() / 2);
     }
     else
     {
@@ -671,9 +672,9 @@ public class TreeCanvas extends JPanel implements MouseListener, Runnable,
     g2.fillRect(0, 0, width, height);
     g2.setFont(font);
 
-    if (longestName==null || tree ==null)
+    if (longestName == null || tree == null)
     {
-      g2.drawString("Calculating tree.",20,20);
+      g2.drawString("Calculating tree.", 20, 20);
     }
     offy = font.getSize() + 10;
 
@@ -756,7 +757,7 @@ public class TreeCanvas extends JPanel implements MouseListener, Runnable,
       if (SwingUtilities.isRightMouseButton(evt))
       {
         Color col = JColorChooser.showDialog(this,
-                "Select Sub-Tree Colour", highlightNode.color);
+                MessageManager.getString("label.select_subtree_colour"), highlightNode.color);
         if (col != null)
         {
           setColor(highlightNode, col);
@@ -796,7 +797,8 @@ public class TreeCanvas extends JPanel implements MouseListener, Runnable,
     if (ob instanceof SequenceNode)
     {
       highlightNode = (SequenceNode) ob;
-      this.setToolTipText("<html>" + MessageManager.getString("label.highlightnode"));
+      this.setToolTipText("<html>"
+              + MessageManager.getString("label.highlightnode"));
       repaint();
 
     }