Browse Source

ScrollPane mit Parameter

remotes/origin/server
Marc Dimmerling 11 months ago
parent
commit
2e7f779477
  1. 2
      src/main/java/ChatClient.java

2
src/main/java/ChatClient.java

@ -29,6 +29,8 @@ public class ChatClient extends JFrame implements KeyListener {
outputTextArea = new JTextArea();
outputTextArea.setEditable(false);
outputTextArea.setBorder(BorderFactory.createTitledBorder("Chat"));
outputScrollPane = new JScrollPane(outputTextArea);
inputTextField = new JTextField();
inputTextField.setBorder(BorderFactory.createTitledBorder("Nachricht eingeben"));

Loading…
Cancel
Save