예제 #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();
   }
 }