|
@ -24,6 +24,7 @@ public class ChatClient extends JFrame { |
|
|
|
|
|
|
|
|
private void initGui() { |
|
|
private void initGui() { |
|
|
outputTextArea = new JTextArea(); |
|
|
outputTextArea = new JTextArea(); |
|
|
|
|
|
outputTextArea.setEditable(false); |
|
|
outputTextArea.setBorder(BorderFactory.createTitledBorder("Chat")); |
|
|
outputTextArea.setBorder(BorderFactory.createTitledBorder("Chat")); |
|
|
|
|
|
|
|
|
inputTextField = new JTextField(); |
|
|
inputTextField = new JTextField(); |
|
|