if ((e.getModifiersEx() & MouseEvent.BUTTON2_DOWN_MASK) == MouseEvent.BUTTON2_DOWN_MASK) {
scene.translate2D(e.getX(), e.getY());
}
if ((e.getModifiersEx() & MouseEvent.BUTTON3_DOWN_MASK) == MouseEvent.BUTTON3_DOWN_MASK) {
scene.zoom2D(e.getX(), e.getY());
}
}
public void mouseWheelMoved(MouseWheelEvent e) {
if (!handleMouseWheelMoved) return;