tooltips instant (hopefully)
authoramwaterhouse <Andrew Waterhouse>
Tue, 14 Jun 2005 10:43:46 +0000 (10:43 +0000)
committeramwaterhouse <Andrew Waterhouse>
Tue, 14 Jun 2005 10:43:46 +0000 (10:43 +0000)
src/jalview/gui/SeqPanel.java

index c729554..27cb962 100755 (executable)
@@ -59,6 +59,9 @@ public class SeqPanel
 \r
   public SeqPanel(AlignViewport avp, AlignmentPanel p)\r
   {\r
+    ToolTipManager.sharedInstance().registerComponent(this);\r
+    ToolTipManager.sharedInstance().setInitialDelay(0);\r
+    ToolTipManager.sharedInstance().setDismissDelay(10000);\r
     this.av = avp;\r
     setBackground(Color.white);\r
 \r
@@ -297,7 +300,6 @@ public class SeqPanel
         }\r
       }\r
 \r
-      ToolTipManager.sharedInstance().registerComponent(this);\r
       this.setToolTipText(sbuffer.toString());\r
     }\r
   }\r