From ae83cc59079dc5374a41402889b6f4192f66e9e2 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Thu, 23 Nov 2006 12:04:50 +0000 Subject: [PATCH] Settooltips null --- src/jalview/gui/SeqPanel.java | 5 ++--- src/jalview/jbgui/GFinder.java | 1 - src/jalview/jbgui/GFontChooser.java | 1 - src/jalview/jbgui/GUserDefinedColours.java | 1 - 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/jalview/gui/SeqPanel.java b/src/jalview/gui/SeqPanel.java index 06aa087..bc9adfe 100755 --- a/src/jalview/gui/SeqPanel.java +++ b/src/jalview/gui/SeqPanel.java @@ -669,8 +669,7 @@ public class SeqPanel extends JPanel implements MouseListener, if(tooltipText.length()==6) // { - - setToolTipText(""); + setToolTipText(null); } else { @@ -679,7 +678,7 @@ public class SeqPanel extends JPanel implements MouseListener, } } else - setToolTipText(""); + setToolTipText(null); } } diff --git a/src/jalview/jbgui/GFinder.java b/src/jalview/jbgui/GFinder.java index b4596da..1a44c7f 100755 --- a/src/jalview/jbgui/GFinder.java +++ b/src/jalview/jbgui/GFinder.java @@ -87,7 +87,6 @@ public class GFinder gridLayout1.setVgap(2); createNewGroup.setEnabled(false); createNewGroup.setFont(new java.awt.Font("Verdana", 0, 12)); - createNewGroup.setToolTipText(""); createNewGroup.setMargin(new Insets(0, 0, 0, 0)); createNewGroup.setText("New Feature"); createNewGroup.addActionListener(new java.awt.event.ActionListener() diff --git a/src/jalview/jbgui/GFontChooser.java b/src/jalview/jbgui/GFontChooser.java index dda5aeb..abc6b71 100755 --- a/src/jalview/jbgui/GFontChooser.java +++ b/src/jalview/jbgui/GFontChooser.java @@ -160,7 +160,6 @@ public class GFontChooser extends JPanel }); smoothFont.setFont(new java.awt.Font("Verdana", Font.PLAIN, 11)); smoothFont.setOpaque(false); - smoothFont.setToolTipText(""); smoothFont.setText("Anti-alias Fonts (Slower to render)"); smoothFont.setBounds(new Rectangle(41, 65, 223, 23)); smoothFont.addActionListener(new ActionListener() diff --git a/src/jalview/jbgui/GUserDefinedColours.java b/src/jalview/jbgui/GUserDefinedColours.java index 661b962..9b685b5 100755 --- a/src/jalview/jbgui/GUserDefinedColours.java +++ b/src/jalview/jbgui/GUserDefinedColours.java @@ -140,7 +140,6 @@ public class GUserDefinedColours extends JPanel namePanel.setMinimumSize(new Dimension(300, 31)); namePanel.setOpaque(false); namePanel.setPreferredSize(new Dimension(240, 25)); - namePanel.setToolTipText(""); namePanel.setLayout(borderLayout1); schemeName.setFont(new java.awt.Font("Verdana", Font.PLAIN, 11)); schemeName.setPreferredSize(new Dimension(105, 21)); -- 1.7.10.2