JDK-4757919 : Paint error of panel in GraphicsTest applet
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.4.1
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2002-10-04
  • Updated: 2002-10-25
  • Resolved: 2002-10-25
Related Reports
Duplicate :  
Description
The GraphicsTest demo applet from j2sdk1.4.1 shows a paint error on Windows XP. To reproduce load the applet with StarOffice 6.0. Then put the window in the background, so that the applet is obscured. Then get the window back in front by using the taskbar. The upper part of applet, the panel containing the buttons an choice control will contain part of the window that previously obscured the applet. A similiar behaviour shows the DitherTest applet. This bug can also be reproduced with Internet Explorer and Mozilla 1.01, both using java 1.4.1. The bug does not occur with java 1.3.1 but with 1.4.0 and 1.4.1

Comments
EVALUATION This might be related to the same bug as 4628179 (which is a duplicate of 4374079). This is fixed by setting GdiSetBatchLimit to 1. I will vertify if this fixes the problem. ###@###.### 2002-10-25 I tested the modified JDK with GdiSetBatchLimit set to 1 and it does indeed fix the problem. So This is a duplicate of 4374079. Will mark it as such. 4374079 is committed to be fixed in mantis. ###@###.### 2002-10-25
25-10-2002