git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-674 JAL-1305 JAL-348 new liftOver method and test to allow annotation to be propa...
[jalview.git]
/
src
/
jalview
/
gui
/
TreeCanvas.java
diff --git
a/src/jalview/gui/TreeCanvas.java
b/src/jalview/gui/TreeCanvas.java
index
37bb6e9
..
c5650f5
100755
(executable)
--- a/
src/jalview/gui/TreeCanvas.java
+++ b/
src/jalview/gui/TreeCanvas.java
@@
-611,7
+611,8
@@
public class TreeCanvas extends JPanel implements MouseListener, Runnable,
if (tree == null)
{
if (tree == null)
{
- g.drawString(MessageManager.getString("label.calculating_tree") + "....", 20, getHeight() / 2);
+ g.drawString(MessageManager.getString("label.calculating_tree")
+ + "....", 20, getHeight() / 2);
}
else
{
}
else
{
@@
-671,9
+672,9
@@
public class TreeCanvas extends JPanel implements MouseListener, Runnable,
g2.fillRect(0, 0, width, height);
g2.setFont(font);
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;
}
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,
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);
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;
if (ob instanceof SequenceNode)
{
highlightNode = (SequenceNode) ob;
- this.setToolTipText("<html>" + MessageManager.getString("label.highlightnode"));
+ this.setToolTipText("<html>"
+ + MessageManager.getString("label.highlightnode"));
repaint();
}
repaint();
}