private void updateDecoration ( ) { if ( lastResult != null ) { if ( lastResult ) { setIcon ( validIcon ) ; setToolTipText ( validText ) ; } else { setIcon ( invalidIcon ) ; setToolTipText ( invalidText ) ; } } }
Updates the icon and tooltip text according to the last result processed by this result handler .