From 0c32ce33848d4d328fae24db90c2d9708563e803 Mon Sep 17 00:00:00 2001 From: Marc Dimmerling Date: Fri, 9 Feb 2024 16:57:25 +0100 Subject: [PATCH] Exit_on_close --- src/main/java/Notizbuch.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/Notizbuch.java b/src/main/java/Notizbuch.java index 25c312b..23371dc 100644 --- a/src/main/java/Notizbuch.java +++ b/src/main/java/Notizbuch.java @@ -19,6 +19,7 @@ public class Notizbuch extends JFrame implements ActionListener { public Notizbuch() { setTitle("Notizbuch"); setSize(400, 300); + setDefaultCloseOperation(EXIT_ON_CLOSE); } @Override