Browse Source

new_JButton

remotes/origin/server
Marc Dimmerling 11 months ago
parent
commit
610f5471e0
  1. 3
      src/main/java/Notizbuch.java

3
src/main/java/Notizbuch.java

@ -7,6 +7,7 @@ import java.io.*;
import javax.swing.JFrame; import javax.swing.JFrame;
import Test_Package.BorderLayout; import Test_Package.BorderLayout;
import Test_Package.JButton;
import Test_Package.JScrollPane; import Test_Package.JScrollPane;
import Test_Package.JTextArea; import Test_Package.JTextArea;
@ -28,6 +29,8 @@ public class Notizbuch extends JFrame implements ActionListener {
textArea = new JTextArea(); textArea = new JTextArea();
add(new JScrollPane(textArea), BorderLayout.CENTER); add(new JScrollPane(textArea), BorderLayout.CENTER);
saveButton = new JButton("Speichern");
} }
@Override @Override

Loading…
Cancel
Save