|
|
@ -615,6 +615,7 @@ public class UICoordinator implements ChangeListener<Boolean> |
|
|
|
privAgree = new CheckBox(); |
|
|
|
privAgree.setText(Text.PRIVACY_STATEMENT_ACCEPTED); |
|
|
|
privAgree.setWrapText(true); |
|
|
|
privAgree.setStyle("-fx-font-family: \"Arial\""); |
|
|
|
privAgree.selectedProperty().addListener(new ChangeListener<Boolean>() |
|
|
|
{ |
|
|
|
@Override |
|
|
@ -779,7 +780,10 @@ public class UICoordinator implements ChangeListener<Boolean> |
|
|
|
// View for clicking and setting the path for saving the resulting data |
|
|
|
BorderPane selectSavePath = new BorderPane(); |
|
|
|
String currentUsersHomeDir = System.getProperty("user.home"); |
|
|
|
dirForSaving= new File(currentUsersHomeDir); |
|
|
|
if(dirForSaving==null) |
|
|
|
{ |
|
|
|
dirForSaving= new File(currentUsersHomeDir); |
|
|
|
} |
|
|
|
path = new Label(String.format(Text.F_LABEL_SAVE_PATH, currentUsersHomeDir)); |
|
|
|
|
|
|
|
selectSavePath.setCenter(path); |
|
|
@ -1100,12 +1104,12 @@ public class UICoordinator implements ChangeListener<Boolean> |
|
|
|
ComboBox<String> levelTwo = getComboBox(comboContainer); |
|
|
|
ComboBox<String> levelThree = getComboBox(comboContainer); |
|
|
|
ComboBox<String> levelFour = getComboBox(comboContainer); |
|
|
|
|
|
|
|
levelOne.setStyle("-fx-font-family :\"Arial\""); |
|
|
|
|
|
|
|
levelOne.setItems(getOccupationList("")); |
|
|
|
levelOne.setDisable(false); |
|
|
|
levelOne.setValue(Text.NOT_SET); |
|
|
|
occupation= new Occupation(Text.NOT_SET); |
|
|
|
|
|
|
|
|
|
|
|
levelOne.valueProperty().addListener(new ChangeListener<String>() |
|
|
|
{ |
|
|
|