private void updateInfo(){
  connectAddress=brokerAddressValue.getText();
  willTopic=willTopicValue.getText();
  willMessage=willMessageValue.getText();
  clientId=clientIdValue.getText();
  willQos=Integer.parseInt(willQosDrop.getText());
  willRetain=willRetainCheckBox.getSelection();
  username=usernameValue.getText();
  password=passwordValue.getText();
  try {
    connectPort=Integer.parseInt(brokerPortValue.getText());
  }
 catch (  NumberFormatException e) {
  }
  try {
    keepAlive=Short.parseShort(keepAliveValue.getText());
  }
 catch (  NumberFormatException e) {
  }
}

private void updateInfo ( ) { connectAddress = brokerAddressValue . getText ( ) ; willTopic = willTopicValue . getText ( ) ; willMessage = willMessageValue . getText ( ) ; clientId = clientIdValue . getText ( ) ; willQos = Integer . parseInt ( willQosDrop . getText ( ) ) ; willRetain = willRetainCheckBox . getSelection ( ) ; username = usernameValue . getText ( ) ; password = passwordValue . getText ( ) ; try { connectPort = Integer . parseInt ( brokerPortValue . getText ( ) ) ; } catch ( NumberFormatException e ) { } try { keepAlive = Short . parseShort ( keepAliveValue . getText ( ) ) ; } catch ( NumberFormatException e ) { } }
updates the connection information
