mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-22 13:33:18 +02:00
Change behavior of closing dialog with hitting X
https://github.com/RipMeApp/ripme/issues/1975
This commit is contained in:
@@ -842,7 +842,7 @@ public final class MainWindow implements Runnable, RipStatusHandler {
|
||||
checkChoise.add(noButton);
|
||||
JFrame.setDefaultLookAndFeelDecorated(true);
|
||||
JFrame frame = new JFrame("Are you sure?");
|
||||
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
|
||||
frame.add(checkChoise);
|
||||
frame.setSize(405, 70);
|
||||
frame.setVisible(true);
|
||||
|
Reference in New Issue
Block a user