|
@ -36,7 +36,7 @@ public class ChatClient extends JFrame implements KeyListener { |
|
|
inputTextField.setBorder(BorderFactory.createTitledBorder("Nachricht eingeben")); |
|
|
inputTextField.setBorder(BorderFactory.createTitledBorder("Nachricht eingeben")); |
|
|
inputTextField.addKeyListener(this); |
|
|
inputTextField.addKeyListener(this); |
|
|
|
|
|
|
|
|
add(outputTextArea, BorderLayout.CENTER); |
|
|
|
|
|
|
|
|
add(outputScrollPane, BorderLayout.CENTER); |
|
|
add(inputTextField, BorderLayout.SOUTH); |
|
|
add(inputTextField, BorderLayout.SOUTH); |
|
|
|
|
|
|
|
|
setVisible(true); |
|
|
setVisible(true); |
|
|