-
Enhancement
-
Resolution: Duplicate
-
P4
-
None
-
1.1.5
-
sparc
-
solaris_2.6
Name: el35337 Date: 06/01/98
As it stands now, there's one focus manager per
thread group, which means that components that
want to implement their own focus managers without
stepping on anyone else's have to be very careful
about setting and resetting the shared focus
manager.
It seems to me that it would be more elegant (and
easy to implement) to allow focus managers to be
set at the JComponent level. When a key event
occurred, the deepest component's focus manager,
if any, would get the event. If the deepest
component didn't have a focus manager, its
containing parent's focus manager would get the
event, and so on. The thread group's focus
manager would get the event only if no component
had specified a focus manager. (Most components
would not specify a focus manager, so this branch
would be taken most of the time.)
(Review ID: 29655)
======================================================================
- duplicates
-
JDK-4290675 Focus Management Enhancements
-
- Closed
-
RFE way to set focus manager per component
-
Enhancement
-
Resolution: Duplicate
-
P4
-
None
-
1.1.5
-
sparc
-
solaris_2.6
Name: el35337 Date: 06/01/98
As it stands now, there's one focus manager per
thread group, which means that components that
want to implement their own focus managers without
stepping on anyone else's have to be very careful
about setting and resetting the shared focus
manager.
It seems to me that it would be more elegant (and
easy to implement) to allow focus managers to be
set at the JComponent level. When a key event
occurred, the deepest component's focus manager,
if any, would get the event. If the deepest
component didn't have a focus manager, its
containing parent's focus manager would get the
event, and so on. The thread group's focus
manager would get the event only if no component
had specified a focus manager. (Most components
would not specify a focus manager, so this branch
would be taken most of the time.)
(Review ID: 29655)
======================================================================
- duplicates
-
JDK-4290675 Focus Management Enhancements
-
- Closed
-