mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-10 15:08:43 +00:00
7124401: [macosx] After call Frame dispose() application continues to work
Reviewed-by: art, alexp
This commit is contained in:
parent
90430b3f49
commit
09db79364b
@ -54,8 +54,12 @@ public class SharedMemoryPixmapsTest {
|
||||
public SharedMemoryPixmapsTest() {
|
||||
testFrame = new Frame("SharedMemoryPixmapsTest");
|
||||
testFrame.add(new TestComponent());
|
||||
testFrame.setUndecorated(true);
|
||||
testFrame.setResizable(false);
|
||||
testFrame.pack();
|
||||
testFrame.setLocationRelativeTo(null);
|
||||
testFrame.setVisible(true);
|
||||
testFrame.toFront();
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user