private void enableDisableSpacingFields(){
  if (manuallySetNumColumns.isSelected()) {
    tfNumColumns.setEnabled(true);
  }
 else {
    tfNumColumns.setEnabled(false);
  }
}

private void enableDisableSpacingFields ( ) { if ( manuallySetNumColumns . isSelected ( ) ) { tfNumColumns . setEnabled ( true ) ; } else { tfNumColumns . setEnabled ( false ) ; } }
enable or disable spacing fields depending on whether the layout is in manual columns mode .
