public void mouseDragged(MouseEvent e) { if (isEnabled()) { // System.out.println("LinkTool::mouseDragged"); if (e.getSource() instanceof ONLGraphic) buttonAction.setIntermediate(e.getPoint(), (ONLGraphic) e.getSource()); } }