JDK-6899689 : HeavyWeight Components are not rendered properly when hidden and shown on lightweight panels
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6u12
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2009-11-10
  • Updated: 2011-01-19
  • Resolved: 2010-03-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6u21Resolved
Related Reports
Duplicate :  
Description
I have few heavyweight components on lightweight panels.
When I an hiding and showing the components, they are not rendered properly.
This is reproducible on windows from build 6u12 . Tested on 6u12, 6u18 builds.

Steps To Reproduce:

1. Run the attached testcase (ShowComp.java)
javac -cp awtsqe.jar ShowComp.java
java -cp awtsqe.jar;. ShowComp
2. Click on Hide button and then Show button
See that the components are not rendered properly.

Comments
EVALUATION That has been verified that this bug is a duplicate of 6829858.
19-03-2010

EVALUATION That is most probably a duplicate of 6829858. The bug is not reproducible with the latest JDK7 release. There's a SubCR of 6829858 for 6u20.
10-11-2009