bug-classpath
[Top][All Lists]
Advanced

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

[Bug swing/24781] Swing key bindings incorrect when dealing with JIntern


From: cvs-commit at developer dot classpath dot org
Subject: [Bug swing/24781] Swing key bindings incorrect when dealing with JInternalFrames
Date: 10 Nov 2005 20:05:15 -0000


------- Comment #2 from cvs-commit at developer dot classpath dot org  
2005-11-10 20:05 -------
Subject: Bug 24781

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Anthony Balkissoon <address@hidden>  05/11/10
20:03:56

Modified files:
        .              : ChangeLog 
        javax/swing    : JComponent.java KeyboardManager.java 

Log message:
        2005-11-10  Anthony Balkissoon  <address@hidden>

        * javax/swing/JComponent.java:
        (processKeyEvent): Reworked this method to improve performance.  Return
        early if the event has already been handled. Don't stop climbing when
        we hit a JInternalFrame, only stop at Applets or Windows (this fixes
        PR 24781). Don't check WHEN_IN_FOCUSED_WINDOW bindings if there is no
        top-level container present.  If there is a top-level container,  pass
        it to KeyboardManager.processKeyStroke rather than the JComponent that
        actually received the event, to save time in finding the top-level
        container within KeyboardManager.
        * javax/swing/KeyboardManager.java:
        (findTopLevel): Changed parameter from JComponent to Component to allow
        generality and to allow passing in of already-determined top-level
        containers to save time.
        (processKeyStroke): Likewise.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5548&tr2=1.5549&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/JComponent.java.diff?tr1=1.82&tr2=1.83&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/KeyboardManager.java.diff?tr1=1.1&tr2=1.2&r1=text&r2=text


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24781





reply via email to

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