public static void disconnect() throws IOException { testThread.disconnect(); }
public static void send() { if (!messageField.getText().equals("")) { testThread.send(messageField.getText()); messageField.requestFocus(); } }