diff --git a/src/main/java/Notizbuch.java b/src/main/java/Notizbuch.java index 180a701..1c1bd38 100644 --- a/src/main/java/Notizbuch.java +++ b/src/main/java/Notizbuch.java @@ -6,11 +6,7 @@ import java.awt.event.*; import java.io.*; import javax.swing.JFrame; -import Test_Package.BorderLayout; -import Test_Package.JButton; -import Test_Package.JPanel; -import Test_Package.JScrollPane; -import Test_Package.JTextArea; + @@ -46,8 +42,17 @@ public class Notizbuch extends JFrame implements ActionListener { @Override public void actionPerformed(ActionEvent e) { if (e.getSource() == saveButton) { - + saveNote(); + } else if (e.getSource() == loadButton) { + loadNote(); } } + + private void saveNote() { + + } + private void loadNote() { + + } } \ No newline at end of file