private void connectButtonActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_connectButtonActionPerformed
    {//GEN-HEADEREND:event_connectButtonActionPerformed
        try
        {
            echoClient.connect(hostTextField.getText(), Integer.parseInt(portTextField.getText()));
            messageArrived("Connected");
        } catch (IOException ex)
        {
            messageArrived(ex.toString());
        }
    }//GEN-LAST:event_connectButtonActionPerformed