/**
  * Install the mouse disabler on the specified frame.
  *
  * @param frame the frame
  * @return true if the installation has succeeded
  */
 public boolean install(Frame frame) {
   if (frame == null || installed) {
     return false;
   }
   // TODO mess up with event queue
   // MyEventQueue.disableMouse();
   oldCursor = frame.getCursor();
   frame.setCursor(NO_CURSOR);
   this.frame = frame;
   installed = true;
   return true;
 }