If i set the mousemodifiers gm.add(new TranslatingGraphMousePlugin(MouseEvent.BUTTON1_MASK & MouseEvent.CTRL_MASK));
and i try to transform a NullPointerException is thrown, because MousePressed doesn't get invoked and so the member "down" doesn't get initialised. Afterwards in mouseDragged the call of down.getX() causes the NullPointerException