Browse Source

Prevent writing in output area

remotes/origin/feature/client/exchange-messages-between-client-server
Alena Bandarovich 11 months ago
parent
commit
92244c512b
  1. 1
      src/main/java/ChatClient.java

1
src/main/java/ChatClient.java

@ -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();

Loading…
Cancel
Save