From: amwaterhouse Date: Tue, 14 Jun 2005 10:43:46 +0000 (+0000) Subject: tooltips instant (hopefully) X-Git-Tag: Release_2_0~53 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=1627d5f04287be852b799ba51bf2b6ded9acecda;p=jalview.git tooltips instant (hopefully) --- diff --git a/src/jalview/gui/SeqPanel.java b/src/jalview/gui/SeqPanel.java index c729554..27cb962 100755 --- a/src/jalview/gui/SeqPanel.java +++ b/src/jalview/gui/SeqPanel.java @@ -59,6 +59,9 @@ public class SeqPanel public SeqPanel(AlignViewport avp, AlignmentPanel p) { + ToolTipManager.sharedInstance().registerComponent(this); + ToolTipManager.sharedInstance().setInitialDelay(0); + ToolTipManager.sharedInstance().setDismissDelay(10000); this.av = avp; setBackground(Color.white); @@ -297,7 +300,6 @@ public class SeqPanel } } - ToolTipManager.sharedInstance().registerComponent(this); this.setToolTipText(sbuffer.toString()); } }