-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.2.0
-
x86
-
windows_nt
Name: el35337 Date: 04/08/98
I've reproduced this on two different NT machines,
both of which have an "s3 compatible display".
When I run the program below, any time I move the
Frame of the running application, my entire screen
flickers wildly.
If I decrease the refresh rate on my monitor, the
problem is not as bad, but then the screen as a
whole doesn't look as sharp.
This problem does not reproduce under the JDK 1.1.
Here's the test case:
import java.awt.Frame;
import java.awt.Image;
import java.awt.Graphics;
public class Test extends Frame
{
private Image m_img = null;
public Test()
{
}
public void paint( Graphics g )
{
if ( m_img == null )
m_img = createImage(100, 100);
g.drawImage(m_img, 40, 40, this);
}
static public void main( String args[] )
{
Test t = new Test();
t.setBounds(100, 100, 200, 200);
t.show();
}
}
(Review ID: 27275)
======================================================================
- duplicates
-
JDK-4193567 Dragging JFrame causes full dsktp redraw & horrible pfmnce(dual-CPU,NT4/SP3)
- Closed