Added system exit on mainframe dispose.
This commit is contained in:
parent
e5bc16a6a4
commit
5c6587386e
|
@ -1,6 +1,5 @@
|
|||
package nl.andrewlalis.blockbookbinder.view;
|
||||
|
||||
import nl.andrewlalis.blockbookbinder.control.ImportAction;
|
||||
import nl.andrewlalis.blockbookbinder.model.Book;
|
||||
import nl.andrewlalis.blockbookbinder.util.ApplicationProperties;
|
||||
import nl.andrewlalis.blockbookbinder.view.about.AboutDialog;
|
||||
|
@ -84,4 +83,10 @@ public class MainFrame extends JFrame {
|
|||
|
||||
return mainPanel;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void dispose() {
|
||||
super.dispose();
|
||||
System.exit(0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue