private void doAesthetics() {
        setSize(new Dimension(700, 500));
        setResizable(false);
        setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
        setLocationRelativeTo(null);

        JScrollPane scrollPane = new JScrollPane(textArea, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
        scrollPane.setBounds(0, 0, 670, 430);
        scrollPane.setPreferredSize(new Dimension(670, 430));
        textArea.setLineWrap(true);
        textArea.setEditable(false);
        textArea.setFont(new Font("Consolas", Font.PLAIN, 14));

        textField.setPreferredSize(new Dimension(620, 14));

        textField.addKeyListener(new KeyListener() {
            @Override
            public void keyPressed(KeyEvent e) {
                if (e.getKeyCode() == KeyEvent.VK_ENTER) {
                    sendMessage(textField.getText().trim());
                    textField.setText("");
                }
            }

            @Override
            public void keyReleased(KeyEvent e) {
            }

            @Override
            public void keyTyped(KeyEvent e) {
            }
        });

        sendButton.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                sendMessage(textField.getText().trim());
                textField.setText("");
            }
        });

        messagesPanel.add(scrollPane);

        communicationPanel.add(textField, BorderLayout.WEST);
        communicationPanel.add(sendButton, BorderLayout.EAST);

        mainPanel.add(messagesPanel);
        mainPanel.add(communicationPanel);

        add(mainPanel);
    }