-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.4.0
-
x86
-
windows_xp
Name: gm110360 Date: 04/08/2002
FULL PRODUCT VERSION :
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
FULL OPERATING SYSTEM VERSION :
Microsoft Windows XP [Version 5.1.2600]
ADDITIONAL OPERATING SYSTEMS :
German version
EXTRA RELEVANT SYSTEM CONFIGURATION :
ATI Radeon 7500 graphics adapter
A DESCRIPTION OF THE PROBLEM :
If you run the attached code, it will run correctly if
started with "java" but not, if started with "javaw". If
you use javaw, the Frame's background isn't displayed
until you move the mouse into the window. This behavior
can also be observed with applets.
REGRESSION. Last worked in version 1.3.1
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Compile code
2. run with "javaw"
3. watch
EXPECTED VERSUS ACTUAL BEHAVIOR :
The window should have a white background, not a
transparent one through which you can see the desktop wall
paper.
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import java.awt.event.*;
class FrameTest extends Frame {
FrameTest() {
super("Time - Client");
addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
System.exit(0);
}
} );
setLayout(new FlowLayout());
Button button = new Button("HeiHo!");
add(button);
pack();
}
public static void main( String[] args ) {
new FrameTest().setVisible(true);
}
}
---------- END SOURCE ----------
Release Regression From : 1.3.1_03
The above release value was the last known release where this
bug was known to work. Since then there has been a regression.
(Review ID: 145102)
======================================================================
- duplicates
-
JDK-4374079 Win32:Lightweight components do not immediately repaint in response to repaint()
- Resolved
- relates to
-
JDK-4717086 COMPATIBILITY: hopper-rc Hghlnd Golf applet fails to display graphics correctly
- Closed
-
JDK-4458337 Merlin: repaints do not work by using javaw on WinNT if double buffering is disa
- Closed