提交 ca84e042 编写于 作者: S serb

7124401: [macosx] After call Frame dispose() application continues to work

Reviewed-by: art, alexp
上级 71d13868
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册