-
Bug
-
Resolution: Fixed
-
P4
-
6
-
b25
-
generic
-
generic
-
Not verified
Name: dmR10075 Date: 02/12/2004
The code in NativeInLightFixer (Component.java) corrects the visibility
of the heavyweight children based on the state of the lightweight
container. However, it does that based on events which are asynchronous.
Therfore, when one makes lightweight container visible, his heavyweights
don't immediately become visible as it happens with heavyweight
containers and simple heavyweight components. This difference is
affecting native code - you can't request focus on an invisible
component, but at that time all Java properties show that such component
is eligible to receive focus. Therefore, after we have requested focus
on such component, the focus is actually nowhere.
This asynchronousity should be removed, probably by adding the children
traversal code to lightweight containers.
======================================================================
The code in NativeInLightFixer (Component.java) corrects the visibility
of the heavyweight children based on the state of the lightweight
container. However, it does that based on events which are asynchronous.
Therfore, when one makes lightweight container visible, his heavyweights
don't immediately become visible as it happens with heavyweight
containers and simple heavyweight components. This difference is
affecting native code - you can't request focus on an invisible
component, but at that time all Java properties show that such component
is eligible to receive focus. Therefore, after we have requested focus
on such component, the focus is actually nowhere.
This asynchronousity should be removed, probably by adding the children
traversal code to lightweight containers.
======================================================================
- relates to
-
JDK-6831657 NativeInLightFixer fails to removeReferences() and causes memory leak.
- Closed
-
JDK-6689468 test/closed/java/awt/Component/VisibleHwInLwContTest/VisibleHwInLwContTest.html fails
- Resolved
-
JDK-6653511 JComponent.safelyGetGraphics() may sometimes return null
- Closed
-
JDK-6871485 Performance optimization of the HW/LW Mixing
- Closed