-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
7
-
None
-
generic
-
windows_xp
Any AWT frames redraw containing components incorrectly. The redrawing area has the same borders as it was at the moment when the frame was shown.
TEST CASE:
//========================= SimpleFrame.java
import java.awt.*;
class SimpleFrame extends Frame {
private SimpleFrame () {
add(new Button("Press me"));
pack();
setVisible(true);
}
public static void main(String[] args) {
new SimpleFrame();
}
}
//========================= End of SimpleFrame.java
JAVA VERSION:
java version "1.7.0-ea"
Java(TM) SE Runtime Environment (build 1.7.0-ea-b26)
OpenJDK Client VM (build 12.0-b03, mixed mode)
TEST CASE:
//========================= SimpleFrame.java
import java.awt.*;
class SimpleFrame extends Frame {
private SimpleFrame () {
add(new Button("Press me"));
pack();
setVisible(true);
}
public static void main(String[] args) {
new SimpleFrame();
}
}
//========================= End of SimpleFrame.java
JAVA VERSION:
java version "1.7.0-ea"
Java(TM) SE Runtime Environment (build 1.7.0-ea-b26)
OpenJDK Client VM (build 12.0-b03, mixed mode)
- duplicates
-
JDK-6682046 Mixing code does not always recalculate shapes correctly when resizing components
-
- Resolved
-