public ClientThread(Socket clientSocket, JTextArea history, JTabbedPane panel, String username) {
        this.clientSocket = clientSocket;
        this.history = history;
        this.panel = panel;
        this.username = username;
    }