private void initComponents() {
FieldSets.addIdField(this, model);
FieldSets.addNameField(this, model);
FieldSets.addPeriodFieldSet(this, model);
add(FieldSets.label(Bundle.cropproductionunit_view_label_planned_area()));
TextField plannedAreaField = new TextField();
plannedAreaField.setPrefWidth(FieldSets.PREF_WIDTH);
add(plannedAreaField);
JFXBinder.bind(CropProductionUnit.PROP_PLANNED_AREA_IN_HECTARES).of(Model.withAt(model, CropProductionUnit.PROP_PLANNED_AREA_IN_HECTARES)).to("text").of(plannedAreaField, NumberConverters.numberToString());
JFXBinder.bind("text").of(plannedAreaField).to(CropProductionUnit.PROP_PLANNED_AREA_IN_HECTARES).of(model, NumberConverters.stringToDouble());
add(FieldSets.label(Bundle.cropproductionunit_view_label_crop_year()));
TextField cropYearField = new TextField();
cropYearField.setPrefWidth(FieldSets.PREF_WIDTH);
add(cropYearField);
JFXBinder.bind(CropProductionUnit.PROP_CROP_YEAR).of(Model.withAt(model,CropProductionUnit.PROP_CROP_YEAR)).to("text").of(cropYearField, NumberConverters.numberToString());
JFXBinder.bind("text").of(cropYearField).to(CropProductionUnit.PROP_CROP_YEAR).of(model, NumberConverters.stringToInteger());
CustomerSelector.addFieldSet(this, model);
CropSelector.addFieldSet(this, model);
}