private void update(){
  String selected=combo.getSettingValue();
  boolean shorten=selected.equals("keepShortened");
  maxLength.setEnabled(shorten);
  maxLengthLabel.setEnabled(shorten);
  maxLengthLabel2.setEnabled(shorten);
}

private void update ( ) { String selected = combo . getSettingValue ( ) ; boolean shorten = selected . equals ( "keepShortened" ) ; maxLength . setEnabled ( shorten ) ; maxLengthLabel . setEnabled ( shorten ) ; maxLengthLabel2 . setEnabled ( shorten ) ; }
activate / deactivate the max character input .
