protected boolean readSendDelay(){
  try {
    sendDelay=Integer.parseInt(sendDelayField.getText());
  }
 catch (  Exception e) {
    statusText1.setText(rb.getString("Error19"));
    statusText1.setVisible(true);
    sendDelay=0;
    errorInStatus1=true;
    resetNotes2();
    return (false);
  }
  if (sendDelay < 0) {
    statusText1.setText(rb.getString("Error20"));
    statusText1.setVisible(true);
    sendDelay=0;
    errorInStatus1=true;
    resetNotes2();
    return (false);
  }
  if (sendDelay > 65535) {
    statusText1.setText(rb.getString("Error21"));
    statusText1.setVisible(true);
    sendDelay=0;
    errorInStatus1=true;
    resetNotes2();
    return (false);
  }
  return true;
}

protected boolean readSendDelay ( ) { try { sendDelay = Integer . parseInt ( sendDelayField . getText ( ) ) ; } catch ( Exception e ) { statusText1 . setText ( rb . getString ( "Error19" ) ) ; statusText1 . setVisible ( true ) ; sendDelay = 0 ; errorInStatus1 = true ; resetNotes2 ( ) ; return ( false ) ; } if ( sendDelay < 0 ) { statusText1 . setText ( rb . getString ( "Error20" ) ) ; statusText1 . setVisible ( true ) ; sendDelay = 0 ; errorInStatus1 = true ; resetNotes2 ( ) ; return ( false ) ; } if ( sendDelay > 65535 ) { statusText1 . setText ( rb . getString ( "Error21" ) ) ; statusText1 . setVisible ( true ) ; sendDelay = 0 ; errorInStatus1 = true ; resetNotes2 ( ) ; return ( false ) ; } return true ; }
read send delay time from window returns ' true ' if successful , ' false ' if an error was detected . if an error is detected , a suitable error message is placed in the notes area
