-
Bug
-
Resolution: Fixed
-
P1
-
1.1, 1.1.2
-
b01
-
sparc
-
solaris_2.5.1
-
Not verified
When a heavyweight component (e.g. Label, Canvas etc) is added to a lightweight container, its position cannot be changed by its container regardless of the layout manager used (e.g. FlowLayout, BorderLayout etc).
In the attached files, LWContainer is the test container. It contains two components, LWRect and Label/LWLabel. LWLabel is a lightweight version of Label. When LWLabel is used, the layout of the LWContainer instance is fine. But if Label is used in place of LWLabel, after the initial setup, the Label not longer responds to the changes in its container's layout. For example, resize the parent frame, notice that all the Labels remain in the original location.
sofyan.nugroho@Eng 1997-04-25
In the attached files, LWContainer is the test container. It contains two components, LWRect and Label/LWLabel. LWLabel is a lightweight version of Label. When LWLabel is used, the layout of the LWContainer instance is fine. But if Label is used in place of LWLabel, after the initial setup, the Label not longer responds to the changes in its container's layout. For example, resize the parent frame, notice that all the Labels remain in the original location.
sofyan.nugroho@Eng 1997-04-25
- duplicates
-
JDK-4047883 lightweight container with heavyweight content moves strangely
- Closed
-
JDK-4049730 lightweight container's contents shows up in wrong place
- Closed