JDK-6981919 : Lightweight component in GlassPane is not redrawn over heavyweight component during move.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic,unknown
  • Submitted: 2010-09-02
  • Updated: 2011-02-15
  • Resolved: 2010-09-24
Related Reports
Relates :  
Relates :  
Description
FULL PRODUCT VERSION :
java version "1.7.0-ea"
Java(TM) SE Runtime Environment (build 1.7.0-ea-b104)
Java HotSpot(TM) 64-Bit Server VM (build 19.0-b05, mixed mode)

Also reproducible on 6u21

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows 7 Ultimate

Also was reproduced on Linux Ubuntu 2.6.31-21 + jdk7-ea-b107

A DESCRIPTION OF THE PROBLEM :
Running code snippet attached to 6637655 I met next behavior:
moving JInternalFrame put into GlassPane was only partially drawn (clipped into it's original bounds) until full window was redrawn.

Can be reproduced by running attached code snippet, moving internal frame and opening menu to redraw window.

Screenshots attached.
Failed test:
AWT_Mixing/Automated/GlassPaneOverlapping/JGlassPaneMoveOverlapping.java jtreg

Comments
EVALUATION Due to 6986333 we generally don't fix bugs with a JIF added to the GlassPane. Moreover, Swing team states that the GlassPane is a system component, and should not be used by users directly. Therefore the bug is closed.
24-09-2010