// will be canceled.
// NOTE: the glass pane should only be visible (and catching mouse events) when we're in
// "add gem" mode
getGlassPane().addMouseMotionListener(new MouseMotionAdapter() {
public void mouseMoved(MouseEvent e) {
TableTopExplorer tableTopExplorer = getTableTopExplorer();
Point pressedPoint = SwingUtilities.convertPoint(getGlassPane(), e.getPoint(), getLayeredPane());
if (tableTopExplorer.getBounds().contains(SwingUtilities.convertPoint(getLayeredPane(), pressedPoint, getTableTopExplorer()))) {
tableTopExplorer.dispatchEvent(SwingUtilities.convertMouseEvent((Component)e.getSource(), e, tableTopExplorer));
}
}
});
// Create the adapter class for the navigator owner