From 6e1d9fc2f3271f9b2ab702f057319a3fc14cf691 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Fri, 6 Jul 2018 10:49:56 +0100 Subject: [PATCH] JAL-3032 register JTable with ToolTipManager --- src/jalview/gui/FeatureSettings.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/jalview/gui/FeatureSettings.java b/src/jalview/gui/FeatureSettings.java index c0097cd..32d3603 100644 --- a/src/jalview/gui/FeatureSettings.java +++ b/src/jalview/gui/FeatureSettings.java @@ -94,6 +94,7 @@ import javax.swing.JSlider; import javax.swing.JTable; import javax.swing.ListSelectionModel; import javax.swing.SwingConstants; +import javax.swing.ToolTipManager; import javax.swing.border.Border; import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeListener; @@ -252,6 +253,7 @@ public class FeatureSettings extends JPanel }; table.getTableHeader().setFont(new Font("Verdana", Font.PLAIN, 12)); table.setFont(new Font("Verdana", Font.PLAIN, 12)); + ToolTipManager.sharedInstance().registerComponent(table); // table.setDefaultRenderer(Color.class, new ColorRenderer()); // table.setDefaultEditor(Color.class, new ColorEditor(this)); -- 1.7.10.2