From ec2987e3cd627f9f5e0f8fa708226fd8150dc890 Mon Sep 17 00:00:00 2001 From: Marc Dimmerling Date: Fri, 9 Feb 2024 17:02:40 +0100 Subject: [PATCH] addActionSaveButton --- 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 531ec00..6320e42 100644 --- a/src/main/java/Notizbuch.java +++ b/src/main/java/Notizbuch.java @@ -31,6 +31,7 @@ public class Notizbuch extends JFrame implements ActionListener { add(new JScrollPane(textArea), BorderLayout.CENTER); saveButton = new JButton("Speichern"); + saveButton.addActionListener(this); } @Override