/**
  * Sets up a MouseListener and MouseMotionListener for the given window. Since an
  * application-level MouseListener or MouseMotionListener might want to intercept events and not
  * pass them on to the ManipManager without relying on the ordering of listeners for the canvas
  * (see the ExaminerViewer class), the setupMouseListeners and removeMouseListeners routines, as
  * well as the appropriate delegate routines, are made public here.
  */
 public synchronized void setupMouseListeners(AWTGLAutoDrawable window) {
   window.addMouseMotionListener(mouseMotionListener);
   window.addMouseListener(mouseListener);
 }