From: gmungoc Date: Fri, 6 Jul 2018 09:49:56 +0000 (+0100) Subject: JAL-3032 register JTable with ToolTipManager X-Git-Tag: Release_2_11_4_0~45^2~18^2~572 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=6e1d9fc2f3271f9b2ab702f057319a3fc14cf691;p=jalview.git JAL-3032 register JTable with ToolTipManager --- 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));