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 2b7e50e commit 7e68f1bCopy full SHA for 7e68f1b
src/main/java/MaterialUISwingDemo.java
@@ -328,7 +328,8 @@ public void actionPerformed(ActionEvent e) {
328
// make everything visible to the world
329
frame.pack ();
330
frame.setVisible (true);
331
-
+ frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
332
+
333
JFileChooser fileChooser = new JFileChooser ();
334
fileChooser.showOpenDialog (frame);
335
}
0 commit comments