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