Пример #1
0
 public static void disconnect() throws IOException {
   testThread.disconnect();
 }
Пример #2
0
 public static void send() {
   if (!messageField.getText().equals("")) {
     testThread.send(messageField.getText());
     messageField.requestFocus();
   }
 }