[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug swing/24781] New: Swing key bindings incorrect when dealing with JI
From: |
abalkiss at redhat dot com |
Subject: |
[Bug swing/24781] New: Swing key bindings incorrect when dealing with JInternalFrames |
Date: |
10 Nov 2005 19:02:34 -0000 |
The attached test case contains a JButton and a JCheckBox inside of a
JInternalFrame, which is then inside of another JInternalFrame. The outside
JInternalFrame has a keybinding registered with the condition
WHEN_ANCESTOR_OF_FOCUSED_COMPONENT. If the JButton, JCheckBox, or inside
JInternalFrame is focused, pressing 'a' should still cause the outer
JInternalFrame's binding to be activated, since it is a parent of the focused
component.
However, our implementation currently does not work here, mainly because the
docs said that when processing WHEN_ANCESTOR_OF_FOCUSED_COMPONENT events we
only go up the hierarchy until we reach a Window, Applet, or JInternalFrame.
However, this test case shows that JInternalFrames must be handled differently,
as their parents must be given the chance to receive the event.
--
Summary: Swing key bindings incorrect when dealing with
JInternalFrames
Product: classpath
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: swing
AssignedTo: abalkiss at redhat dot com
ReportedBy: abalkiss at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24781
- [Bug swing/24781] New: Swing key bindings incorrect when dealing with JInternalFrames,
abalkiss at redhat dot com <=
- [Bug swing/24781] Swing key bindings incorrect when dealing with JInternalFrames, abalkiss at redhat dot com, 2005/11/10
- [Bug swing/24781] Swing key bindings incorrect when dealing with JInternalFrames, cvs-commit at developer dot classpath dot org, 2005/11/10
- [Bug swing/24781] Swing key bindings incorrect when dealing with JInternalFrames, abalkiss at redhat dot com, 2005/11/10
- [Bug swing/24781] Swing key bindings incorrect when dealing with JInternalFrames, abalkiss at redhat dot com, 2005/11/10
- [Bug swing/24781] Swing key bindings incorrect when dealing with JInternalFrames, abalkiss at redhat dot com, 2005/11/10