/[classpath]/classpath/javax/swing/plaf/basic/BasicInternalFrameUI.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/basic/BasicInternalFrameUI.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.18 by abalkiss, Mon Sep 19 17:26:18 2005 UTC revision 1.19 by abalkiss, Mon Sep 19 18:33:41 2005 UTC
# Line 849  public class BasicInternalFrameUI extend Line 849  public class BasicInternalFrameUI extend
849            MouseEvent me = (MouseEvent) e;            MouseEvent me = (MouseEvent) e;
850            acquireComponentForMouseEvent(me);            acquireComponentForMouseEvent(me);
851    
852              //If there is no target, return
853              if (mouseEventTarget == null)
854                return;
855              
856            //Avoid re-dispatching to ourselves and causing an infinite loop            //Avoid re-dispatching to ourselves and causing an infinite loop
857            if (mouseEventTarget.equals(frame.getGlassPane()))            if (mouseEventTarget.equals(frame.getGlassPane()))
858              return;              return;
859    
860            // Avoid dispatching ENTERED and EXITED events twice.            // Avoid dispatching ENTERED and EXITED events twice.
861            if (mouseEventTarget != null && mouseEventTarget.isShowing()            if (mouseEventTarget.isShowing()
862                && e.getID() != MouseEvent.MOUSE_ENTERED                && e.getID() != MouseEvent.MOUSE_ENTERED
863                && e.getID() != MouseEvent.MOUSE_EXITED)                && e.getID() != MouseEvent.MOUSE_EXITED)
864              {              {

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26