-
Bug
-
Resolution: Fixed
-
P2
-
1.1.2, 1.1.7, 1.2.0, 1.2.2
-
kestrel
-
x86
-
generic, windows_95, windows_nt
this problem does not repro on solaris). the problem is generic
and may involve synchronization of damage with repair. in the
example code shown below, it is not easy to cause the problem to
occur (it may take a couple minutes of damaging the canvas to get
repaint problems), but that is no indication that the problem is
insignificant. in fact, it may be responsible for all sorts of
paint problems...
import java.applet.*;
import java.awt.*;
class Foo extends Canvas
{
public void paint(Graphics g)
{
for (int i = 0; i < 100; i += 2)
{
g.drawString("this is a test of foo", i, i);
}
}
public Dimension getPreferredSize()
{
return new Dimension(100, 100);
}
public Dimension getMinimumSize()
{
return getPreferredSize();
}
}
public class test extends Applet
{
public void init()
{
setLayout(new FlowLayout());
add(new Foo());
add(new Foo());
add(new Foo());
}
}
- duplicates
-
JDK-4302235 AWT bugs causing JVM crash found and fixed - asking for new release
- Closed
-
JDK-4139083 Redraw problems when moving overlapping windows (JFrame)
- Closed
-
JDK-4200425 JAVAW caused an invalid page fault in module AWT.DLL
- Closed
-
JDK-4223311 divide by zero exception and awt_Graphics Internal Errors
- Closed
-
JDK-4290970 Recurrence of bug 4119686 (AWT causes invalid page fault)
- Closed
- relates to
-
JDK-4073822 Fast scrolling causes un-needed refreshings of the whole child of a ScrollPane.
- Resolved
-
JDK-4366691 deadlock condition on win32 during display mode switch
- Resolved
-
JDK-4200808 jdk1.2 paint() fails with too many rectangle fills
- Closed