-
Enhancement
-
Resolution: Duplicate
-
P4
-
None
-
1.2.0
-
x86
-
windows_nt
Name: dbT83986 Date: 01/06/99
Hello,
one of the following three would help us with our
current application:
o when a window is inactive, its getFocusOwner() method
returns null.
It would be nice, if there were a method w.isActive()
and getFocusOwner() returns the value of the internal
variable focusOwner
o AWTEventListener only gets at the events after they have
been handled by dispatchEventImpl e.g. in class Window.
It would be nice, if the call to the AWTEventListeners
were in Component.dispatchEvent() instead of Component.
dispatchEventImpl().
o The LightweightDispatcher is hardwired inside Container
and not accessible.
It would be nice, if the class were public and subclassable,
and if there were a method to set for a component
the class it should use as LightweightDispatcher.
Alternatively LightweightDispatcher could offer some
methods to set or get values and to attach Listeners.
We would have a Listener for Focus change events, so
there was a chance to keep track of internal focus
transfer. And we would like to get at the internal
variable focus used e.g in setFocusRequest().
Thanks,
-mg
(Review ID: 49116)
======================================================================
- duplicates
-
JDK-4290675 Focus Management Enhancements
- Closed