question: private int readNodeAddress ( ) { int addr = - 1 ; try { addr = Integer . parseInt ( nodeAddrField . getText ( ) ) ; } catch ( Exception e ) { statusText1 . setText ( rb . getString ( "Error5" ) ) ; statusText1 . setVisible ( true ) ; errorInStatus1 = true ; resetNotes2 ( ) ; return - 1 ; } if ( ( addr < 1 ) || ( addr > 99 ) ) { statusText1 . setText ( rb . getString ( "Error6" ) ) ; statusText1 . setVisible ( true ) ; errorInStatus1 = true ; resetNotes2 ( ) ; return - 1 ; } return ( addr ) ; }
target:  Read node address and check for legal range If successful, a node address in the range 1-99 is returned. If not successful, -1 is returned and an appropriate error message is placed in statusText1.