@Override public void initialize(URL arg0, ResourceBundle arg1) { btScan.disableProperty().bind(viewModel.scanAllowedProperty().not()); lbScan.textProperty().bind(viewModel.messageProperty()); tfScan.textProperty().bindBidirectional(viewModel.scannedValueProperty()); btScan.setDefaultButton(true); }