|
@ -13,7 +13,8 @@ public class ChatClient extends JFrame implements KeyListener { |
|
|
// GUI |
|
|
// GUI |
|
|
private JTextArea outputTextArea; |
|
|
private JTextArea outputTextArea; |
|
|
private JTextField inputTextField; |
|
|
private JTextField inputTextField; |
|
|
|
|
|
|
|
|
|
|
|
private JScrollPane outputScrollPane; |
|
|
|
|
|
|
|
|
public ChatClient(int port) { |
|
|
public ChatClient(int port) { |
|
|
super("Chat"); |
|
|
super("Chat"); |
|
|
this.port = port; |
|
|
this.port = port; |
|
|