From: jprocter Date: Fri, 23 Apr 2010 12:19:24 +0000 (+0000) Subject: fix for bug #62456 X-Git-Tag: Release_2_5~55 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=e6ae1a0869ced674b7032826527ad229e8efa8db;p=jalview.git fix for bug #62456 --- diff --git a/src/jalview/appletgui/TreeCanvas.java b/src/jalview/appletgui/TreeCanvas.java index 4e15fd3..f0e7b62 100755 --- 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)