protected boolean readPollTimeout(){
  try {
    pollTimeoutTime=Integer.parseInt(pollTimeoutField.getText());
  }
 catch (  Exception e) {
    statusText1.setText(rb.getString("Error7"));
    statusText1.setVisible(true);
    pollTimeoutTime=0;
    errorInStatus1=true;
    resetNotes2();
    return (false);
  }
  if (pollTimeoutTime <= 0) {
    statusText1.setText(rb.getString("Error8"));
    statusText1.setVisible(true);
    pollTimeoutTime=0;
    errorInStatus1=true;
    resetNotes2();
    return (false);
  }
  if (pollTimeoutTime > 10000) {
    statusText1.setText(rb.getString("Error9"));
    statusText1.setVisible(true);
    pollTimeoutTime=0;
    errorInStatus1=true;
    resetNotes2();
    return (false);
  }
  return true;
}

protected boolean readPollTimeout ( ) { try { pollTimeoutTime = Integer . parseInt ( pollTimeoutField . getText ( ) ) ; } catch ( Exception e ) { statusText1 . setText ( rb . getString ( "Error7" ) ) ; statusText1 . setVisible ( true ) ; pollTimeoutTime = 0 ; errorInStatus1 = true ; resetNotes2 ( ) ; return ( false ) ; } if ( pollTimeoutTime <= 0 ) { statusText1 . setText ( rb . getString ( "Error8" ) ) ; statusText1 . setVisible ( true ) ; pollTimeoutTime = 0 ; errorInStatus1 = true ; resetNotes2 ( ) ; return ( false ) ; } if ( pollTimeoutTime > 10000 ) { statusText1 . setText ( rb . getString ( "Error9" ) ) ; statusText1 . setVisible ( true ) ; pollTimeoutTime = 0 ; errorInStatus1 = true ; resetNotes2 ( ) ; return ( false ) ; } return true ; }
read receive poll reply timeout 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
