Browse Source

new_ScrollPane

remotes/origin/server
Marc Dimmerling 11 months ago
parent
commit
503549677f
  1. 2
      src/main/java/Notizbuch.java

2
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.JScrollPane;
import Test_Package.JTextArea; import Test_Package.JTextArea;
@ -26,6 +27,7 @@ public class Notizbuch extends JFrame implements ActionListener {
setLayout(new BorderLayout()); setLayout(new BorderLayout());
textArea = new JTextArea(); textArea = new JTextArea();
add(new JScrollPane(textArea), BorderLayout.CENTER);
} }
@Override @Override

Loading…
Cancel
Save