diff options
Diffstat (limited to 'java/src/IceGridGUI/LiveDeployment/GraphView.java')
-rw-r--r-- | java/src/IceGridGUI/LiveDeployment/GraphView.java | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/java/src/IceGridGUI/LiveDeployment/GraphView.java b/java/src/IceGridGUI/LiveDeployment/GraphView.java index fb772855bc3..f042e3c8dc9 100644 --- a/java/src/IceGridGUI/LiveDeployment/GraphView.java +++ b/java/src/IceGridGUI/LiveDeployment/GraphView.java @@ -560,7 +560,21 @@ public class GraphView extends JFrame implements MetricsFieldContext } }; - _legendTable = new JTable(_legendModel); + _legendTable = new JTable(_legendModel) + { + //Implement table cell tool tips. + public String getToolTipText(java.awt.event.MouseEvent e) + { + if(convertColumnIndexToModel(columnAtPoint(e.getPoint())) == 6) + { + return _legendModel.getRows(new int[]{rowAtPoint(e.getPoint())})[0].cell.getField().getColumnToolTip(); + } + else + { + return null; + } + } + }; // // Graph preferences. |