223224225226227228229230
// Start user interface. new SwingUI(); // Automatically connect to the last server. if (host != null) { dispatchEvent(new ConnectEvent(host, port)); } }
979899100101102103104105106107
host = cmd; port = 23; } Controller.getInstance() .dispatchEvent(new ConnectEvent(host, port)); return; } if (event.getText().toLowerCase().equals("/connect")) { Controller.getInstance().dispatchEvent(
265266267268269270271272273274
return; } // If the connection was lost during operation reconnect. Controller.getInstance().dispatchEvent( new ConnectEvent(host, port)); } }.start(); }