window.removeMouseMotionListener(mouseMotionListener); window.removeMouseListener(mouseListener); window.removeGLEventListener(glListener); ManipManager.getManipManager().setupMouseListeners(window);
if (window != null) { window.removeMouseMotionListener(mouseMotionListener); window.removeMouseListener(mouseListener); window.removeGLEventListener(glListener); ManipManager.getManipManager().setupMouseListeners(window); }
  private void removeListeners() {    window.removeMouseMotionListener(mouseMotionListener);    window.removeMouseListener(mouseListener);    window.removeGLEventListener(glListener);    ManipManager.getManipManager().setupMouseListeners(window);  }