We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3cebe8 commit ce98326Copy full SHA for ce98326
tests/org.eclipse.swt.tests/data/clipboard/ClipboardTest.java
@@ -31,6 +31,7 @@
31
import javax.swing.JScrollPane;
32
import javax.swing.JTextArea;
33
import javax.swing.SwingUtilities;
34
+import javax.swing.WindowConstants;
35
36
import org.eclipse.swt.tests.junit.Test_org_eclipse_swt_dnd_Clipboard;
37
@@ -96,7 +97,7 @@ public ClipboardTest() throws RemoteException {
96
97
add(scrollPane, BorderLayout.CENTER);
98
add(buttonPanel, BorderLayout.SOUTH);
99
- setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
100
+ setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
101
pack();
102
setLocationRelativeTo(null); // Center on screen
103
setVisible(true);
0 commit comments