-
Bug
-
Resolution: Fixed
-
P3
-
7u4
-
b18
-
generic
-
os_x
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2222372 | 8 | Anthony Petrov | P3 | Closed | Fixed | b34 |
The following test case can be used to reproduce the problem:
import java.awt.*;
public class TestGUI1 extends Window {
public TestGUI1(Frame owner) {
super(owner);
}
public static void main(final String[] args) {
final Frame frame = new Frame("SetLocJWin Test Frame");
frame.setSize(500,500);
final TestGUI1 window = new TestGUI1(frame);
window.setBackground(Color.RED);
window.setSize(200, 200);
window.setLocationRelativeTo(null);
window.setVisible(true);
}
}
import java.awt.*;
public class TestGUI1 extends Window {
public TestGUI1(Frame owner) {
super(owner);
}
public static void main(final String[] args) {
final Frame frame = new Frame("SetLocJWin Test Frame");
frame.setSize(500,500);
final TestGUI1 window = new TestGUI1(frame);
window.setBackground(Color.RED);
window.setSize(200, 200);
window.setLocationRelativeTo(null);
window.setVisible(true);
}
}
- backported by
-
JDK-2222372 [macosx] An invisible owner frame becomes visible upon clicking a child window
-
- Closed
-