From 1627d5f04287be852b799ba51bf2b6ded9acecda Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Tue, 14 Jun 2005 10:43:46 +0000 Subject: [PATCH] tooltips instant (hopefully) --- src/jalview/gui/SeqPanel.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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()); } } -- 1.7.10.2