Browse Source

LoadNote_

remotes/origin/server
Marc Dimmerling 11 months ago
parent
commit
934b469534
  1. 17
      src/main/java/Notizbuch.java

17
src/main/java/Notizbuch.java

@ -6,11 +6,7 @@ import java.awt.event.*;
import java.io.*; import java.io.*;
import javax.swing.JFrame; 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 @Override
public void actionPerformed(ActionEvent e) { public void actionPerformed(ActionEvent e) {
if (e.getSource() == saveButton) { if (e.getSource() == saveButton) {
saveNote();
} else if (e.getSource() == loadButton) {
loadNote();
} }
} }
private void saveNote() {
}
private void loadNote() {
}
} }
Loading…
Cancel
Save