Skip to content
Snippets Groups Projects
Commit 2728e1f4 authored by Lange, Dr. Herbert's avatar Lange, Dr. Herbert
Browse files

close window to end program

parent f287980c
No related branches found
No related tags found
No related merge requests found
...@@ -141,7 +141,7 @@ public class GUI { ...@@ -141,7 +141,7 @@ public class GUI {
"Success", "Success",
JOptionPane.INFORMATION_MESSAGE); JOptionPane.INFORMATION_MESSAGE);
// End application // End application
System.exit(0); window.dispose();
} catch (IOException e) { } catch (IOException e) {
//custom title, error icon //custom title, error icon
JOptionPane.showMessageDialog(window, JOptionPane.showMessageDialog(window,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment