From 610f5471e029862f4b8236d8e545d135a09ef7f9 Mon Sep 17 00:00:00 2001 From: Marc Dimmerling Date: Fri, 9 Feb 2024 17:01:53 +0100 Subject: [PATCH] new_JButton --- src/main/java/Notizbuch.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/Notizbuch.java b/src/main/java/Notizbuch.java index fe05dcd..531ec00 100644 --- a/src/main/java/Notizbuch.java +++ b/src/main/java/Notizbuch.java @@ -7,6 +7,7 @@ import java.io.*; import javax.swing.JFrame; import Test_Package.BorderLayout; +import Test_Package.JButton; import Test_Package.JScrollPane; import Test_Package.JTextArea; @@ -28,6 +29,8 @@ public class Notizbuch extends JFrame implements ActionListener { textArea = new JTextArea(); add(new JScrollPane(textArea), BorderLayout.CENTER); + + saveButton = new JButton("Speichern"); } @Override