-
Enhancement
-
Resolution: Duplicate
-
P4
-
None
-
1.1.1, 1.1.2
-
None
-
x86, sparc
-
generic, windows_95
<linda.schneider@eng 6/2/97>
There doesnt seem to "grab" a key event and always have a function
be called (e.g. like a menushort cut w/o a menu associated w. a frame)
e.g. we need to be able to hit the F1 key over any dialog or window and
have the help panel come up (since we are not using a menubar ...we cant
use a menu shortcut)
(in the old event model, you just had each window respond to the F1 which
was propogated up from where it was selected)
The only way to do this with the current event model is to set up a
key listener on every component as it is created .... a bit wasteful
since the key events are already being passed up for menushortcuts
and tab events.
Since the old event API's are going away at somepoint ... it would
be nice to have a way to do this in the jdk
There doesnt seem to "grab" a key event and always have a function
be called (e.g. like a menushort cut w/o a menu associated w. a frame)
e.g. we need to be able to hit the F1 key over any dialog or window and
have the help panel come up (since we are not using a menubar ...we cant
use a menu shortcut)
(in the old event model, you just had each window respond to the F1 which
was propogated up from where it was selected)
The only way to do this with the current event model is to set up a
key listener on every component as it is created .... a bit wasteful
since the key events are already being passed up for menushortcuts
and tab events.
Since the old event API's are going away at somepoint ... it would
be nice to have a way to do this in the jdk
- duplicates
-
JDK-4055780 need to override preProcessKeyEvent() and postProcessKeyEvent()
- Closed
-
JDK-4290675 Focus Management Enhancements
- Closed