From b503b46d9c349f6f5d7fd14f4d41810d7131a40f Mon Sep 17 00:00:00 2001 From: Marc Dimmerling Date: Fri, 9 Feb 2024 20:03:06 +0100 Subject: [PATCH] refactoring: SpeicherLadeButtonKommi --- src/main/java/Notizbuch.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/Notizbuch.java b/src/main/java/Notizbuch.java index 6734c84..3222f1b 100644 --- a/src/main/java/Notizbuch.java +++ b/src/main/java/Notizbuch.java @@ -20,7 +20,8 @@ public class Notizbuch extends JFrame implements ActionListener { setTextArea(new JTextArea()); add(new JScrollPane(getTextArea()), BorderLayout.CENTER); - + + // Erstellen der Speichern- und Laden-Buttons saveButton = new JButton("Speichern"); saveButton.addActionListener(this); loadButton = new JButton("Laden");