private void enableNew(){
  boolean sel=fCreateNew.isSelected();
  lWarehouse.setVisible(sel);
  fWarehouse.setVisible(sel);
  lWarehouseInfo.setVisible(!sel);
  fWarehouseInfo.setVisible(!sel);
  fX.setReadWrite(sel);
  fY.setReadWrite(sel);
  fZ.setReadWrite(sel);
  fValue.setReadWrite(sel);
  pack();
}

private void enableNew ( ) { boolean sel = fCreateNew . isSelected ( ) ; lWarehouse . setVisible ( sel ) ; fWarehouse . setVisible ( sel ) ; lWarehouseInfo . setVisible ( ! sel ) ; fWarehouseInfo . setVisible ( ! sel ) ; fX . setReadWrite ( sel ) ; fY . setReadWrite ( sel ) ; fZ . setReadWrite ( sel ) ; fValue . setReadWrite ( sel ) ; pack ( ) ; }
enable / disable new data entry
