Browse Source

BorderLayout

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

3
src/main/java/Notizbuch.java

@ -6,6 +6,8 @@ import java.awt.event.*;
import java.io.*; import java.io.*;
import javax.swing.JFrame; import javax.swing.JFrame;
import Test_Package.BorderLayout;
@ -20,6 +22,7 @@ public class Notizbuch extends JFrame implements ActionListener {
setTitle("Notizbuch"); setTitle("Notizbuch");
setSize(400, 300); setSize(400, 300);
setDefaultCloseOperation(EXIT_ON_CLOSE); setDefaultCloseOperation(EXIT_ON_CLOSE);
setLayout(new BorderLayout());
} }
@Override @Override

Loading…
Cancel
Save