question: private boolean validConsist ( ) { int cN = validConsist ( consistTextField . getText ( ) ) ; if ( cN == - 1 ) { consistStatus . setText ( rb . getString ( "EditStateERROR" ) ) ; JOptionPane . showMessageDialog ( this , rb . getString ( "ToolTipConsist" ) , rb . getString ( "DIALOG_NceConsist" ) , JOptionPane . ERROR_MESSAGE ) ; return false ; } return true ; }
target:  Check for valid consist, popup error message if not