git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b1ca39
)
fix for bug #62456
author
jprocter
<Jim Procter>
Fri, 23 Apr 2010 12:19:24 +0000
(12:19 +0000)
committer
jprocter
<Jim Procter>
Fri, 23 Apr 2010 12:19:24 +0000
(12:19 +0000)
src/jalview/appletgui/TreeCanvas.java
patch
|
blob
|
history
diff --git
a/src/jalview/appletgui/TreeCanvas.java
b/src/jalview/appletgui/TreeCanvas.java
index
4e15fd3
..
f0e7b62
100755
(executable)
--- a/
src/jalview/appletgui/TreeCanvas.java
+++ b/
src/jalview/appletgui/TreeCanvas.java
@@
-406,7
+406,7
@@
public class TreeCanvas extends Panel implements MouseListener,
{
repaint();
}
-
+
int width = scrollPane.getSize().width;
int height = scrollPane.getSize().height;
if (!fitToWindow)
@@
-424,9
+424,8
@@
public class TreeCanvas extends Panel implements MouseListener,
setSize(new Dimension(width, height));
g.setFont(font);
-
draw(g, width, height);
-
+ validate();
}
public void draw(Graphics g, int width, int height)