nx, ny,
tp.x, tp.y,
  void acquireComponentForMouseEvent (MouseEvent me)  {    int x = me.getX ();    int y = me.getY ();    Component candidate = mouseEventTarget;    boolean candidate_is_container_with_children =       ((candidate != null)       && (candidate instanceof Container)       && (((Container)candidate).getComponentCount () > 0));    boolean candidate_does_not_contain_point =      ((candidate != null)       && (! candidate.contains (x - candidate.getX (),                                 y - candidate.getY ())));    if (candidate == null        || candidate_is_container_with_children        || candidate_does_not_contain_point)      {        // Try to reacquire.        candidate = nativeContainer.findComponentAt (x, y);      }    if (mouseEventTarget != null        && mouseEventTarget != candidate)      {        int nx = x - mouseEventTarget.getX ();        int ny = y - mouseEventTarget.getY ();        MouseEvent exited = new MouseEvent (mouseEventTarget,                                             MouseEvent.MOUSE_EXITED,                                            me.getWhen (),                                             me.getModifiers (),                                             nx, ny,                                            me.getClickCount (),                                            me.isPopupTrigger (),                                            me.getButton ());        mouseEventTarget.dispatchEvent (exited);         mouseEventTarget = null;      }    if (candidate != null)      {        // Possibly set new state.        if (candidate.isLightweight()             && candidate != nativeContainer            && candidate != mouseEventTarget)	  {			            mouseEventTarget = candidate;			            int nx = x - mouseEventTarget.getX ();            int ny = y - mouseEventTarget.getY ();			            // If acquired, enter it.            MouseEvent entered = new MouseEvent (mouseEventTarget,                                                  MouseEvent.MOUSE_ENTERED,                                                 me.getWhen (),                                                  me.getModifiers (),                                                  nx, ny,                                                 me.getClickCount (),                                                 me.isPopupTrigger (),                                                 me.getButton ());            mouseEventTarget.dispatchEvent (entered);          }      }  }