This commit is contained in:
Kevin Maier 2023-01-31 21:25:08 +01:00
commit b9ccf98bf6

View File

@ -386,7 +386,7 @@ public class HelloController {
@FXML
protected void getLabelValueWithRadio(ActionEvent event)
protected ArrayList<String> getLabelValueWithRadio(ActionEvent event)
{
chosenMeals = new ArrayList<>();
String mainDish;
@ -456,6 +456,8 @@ public class HelloController {
Alert alert = new Alert(Alert.AlertType.INFORMATION);
alert.setContentText(chosenMeals.toString());
alert.show();
return chosenMeals;
}