|
@ -20,7 +20,8 @@ public class Notizbuch extends JFrame implements ActionListener { |
|
|
|
|
|
|
|
|
setTextArea(new JTextArea()); |
|
|
setTextArea(new JTextArea()); |
|
|
add(new JScrollPane(getTextArea()), BorderLayout.CENTER); |
|
|
add(new JScrollPane(getTextArea()), BorderLayout.CENTER); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Erstellen der Speichern- und Laden-Buttons |
|
|
saveButton = new JButton("Speichern"); |
|
|
saveButton = new JButton("Speichern"); |
|
|
saveButton.addActionListener(this); |
|
|
saveButton.addActionListener(this); |
|
|
loadButton = new JButton("Laden"); |
|
|
loadButton = new JButton("Laden"); |
|
|