From 9750a48d68e664ffc8cf1772e3e169537fd78856 Mon Sep 17 00:00:00 2001 From: Kevin Pfannenstiel Date: Tue, 31 Jan 2023 19:51:00 +0100 Subject: [PATCH] =?UTF-8?q?return=20statement=20erg=C3=A4nzt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/example/vpr_javafx/HelloController.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/example/vpr_javafx/HelloController.java b/src/main/java/com/example/vpr_javafx/HelloController.java index f4e89cc..6e32de4 100644 --- a/src/main/java/com/example/vpr_javafx/HelloController.java +++ b/src/main/java/com/example/vpr_javafx/HelloController.java @@ -385,7 +385,7 @@ public class HelloController { @FXML - protected void getLabelValueWithRadio(ActionEvent event) + protected ArrayList getLabelValueWithRadio(ActionEvent event) { chosenMeals = new ArrayList<>(); String mainDish; @@ -455,6 +455,8 @@ public class HelloController { Alert alert = new Alert(Alert.AlertType.INFORMATION); alert.setContentText(chosenMeals.toString()); alert.show(); + + return chosenMeals; }