tests if the combo value is empty . if so , it adds an error color to the background of the cell . concode_field_sep String SMALL_FONT concode_elem_sep Color errorColor concode_elem_sep Color backgroundErrorColor concode_elem_sep ModifyListener modifyListener concode_field_sep FontData[] boldFont concode_elem_sep void updateLabelStatus concode_elem_sep void setVisiblity concode_elem_sep void disposeControl concode_elem_sep boolean isControlDisposed concode_elem_sep void center concode_elem_sep void resizeControlHeightInGrid concode_elem_sep FontData[] italicizedFont concode_elem_sep void updateErrorLabelWidth concode_elem_sep Image scaleImage concode_elem_sep void run concode_elem_sep FontData[] resizeFont concode_elem_sep FontData[] resizeFont concode_elem_sep Color getErrorColor concode_elem_sep Font getDefaultSmallFont concode_elem_sep void resizeControlWidthInGrid concode_elem_sep FontData[] styleFont concode_elem_sep void resizeControlSizeInGrid concode_elem_sep void disposeImage concode_elem_sep Image getImage concode_elem_sep Image getImage concode_elem_sep Image getImage concode_elem_sep Image getImage concode_elem_sep Image getImage concode_elem_sep Image getImage concode_elem_sep Image getImage concode_elem_sep boolean testWidgetValue concode_elem_sep void centerAndPack
boolean function ( Combo arg0 , int arg1 ) { int loc0 = Math . max ( arg1 , 0 ) ; String loc1 = arg0 . getText ( ) ; if ( loc1 == null || loc1 . length ( ) == 0 || arg0 . getSelectionIndex ( ) < loc0 ) { arg0 . setBackground ( backgroundErrorColor ) ; return false ; } arg0 . setBackground ( null ) ; return true ; }