-
Enhancement
-
Resolution: Duplicate
-
P4
-
None
-
1.1.1
-
None
-
x86
-
windows_95
This one is more of a feature request than a bug.
The preProcessKeyEvent() and postProcessKeyEvent() methods should be methods
that subclasses of Container can override. Currently if a container wants all
its children's keypresses (and this is a very common occurance) it must
register as KeyListeners on them all. A very time consuming action,
especially since the methods are already existing to handle this correctly
but just with the wrong visibility.
The preProcessKeyEvent() and postProcessKeyEvent() methods should be methods
that subclasses of Container can override. Currently if a container wants all
its children's keypresses (and this is a very common occurance) it must
register as KeyListeners on them all. A very time consuming action,
especially since the methods are already existing to handle this correctly
but just with the wrong visibility.
- duplicates
-
JDK-4056074 no way to grab a key and tie it to a specific event w/ the new event model
-
- Closed
-