Ejemplo n.º 1
0
 /* Grab mouse events and pass them on to our parent.  This is a really ugly
  * kludge.  Fixme please.  The problem is that Canvases will grab the mouse events
  * so the parent Frame never receives them.  For some reason trying to
  * disableEvents(AWTEvent.MOUSE_EVENT_MASK|AWTEvent.MOUSE_MOTION_EVENT_MASK)
  * did not successfully keep the events from reaching the Canvas.
  *
  * Another way to do this is to pass in a Vector of all the Canvases to each Canvas.
  * Then the Canvas can inform the other Canvases accordingly instead of leaving it
  * up to the Frame to do so.  I'm not convinced that's a better way, though.
  * JRE 8/jul/99
  */
 public void mouseMoved(MouseEvent e) {
   graphWin.mouseMoved(e);
 }