classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI: Patch - Container.java and BasicPopupMenuUI.java infin


From: Anthony Balkissoon
Subject: [cp-patches] FYI: Patch - Container.java and BasicPopupMenuUI.java infinite loops
Date: Fri, 24 Jun 2005 17:05:11 -0400

This patch is essentially the same as the one I submitted yesterday and
Roman approved, except that this is for general Container, and for
BasicPopupMenuUI rather than BasicJInternalFrameUI.

This patch resets lastComponentEntered to null before dispatching new
MOUSE_EXITED events to avoid infinite looping.

Patch attached.

2005-06-24  Anthony Balkissoon  <address@hidden>

        * java/awt/Container.java:
        (LightweightDispatcher.acquireComponentForMouseEvent):
        Use temp variable to set lastComponentEntered to null _before_
        dispatching MOUSE_EXITED events to avoid infinite loop.
        * javax/swing/plaf/basic/BasicPopupMenuUI.java:
        (MouseInputHandler.acquireComponentForMouseEvent):
        Use temp variable to set lastComponentEntered to null _before_
        dispatching MOUSE_EXITED events to avoid infinite loop.

-Tony

Attachment: MouseExitedInfiniteDispatch.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]