| @@ -8,7 +8,6 @@ import javafx.scene.control.TextField; | ||||
| import javafx.scene.text.Text; | ||||
|  | ||||
| import java.util.ArrayList; | ||||
| import java.util.Arrays; | ||||
| import java.util.List; | ||||
|  | ||||
| public class CreateFoodController { | ||||
| @@ -37,7 +36,7 @@ public class CreateFoodController { | ||||
|     } | ||||
|  | ||||
|     @FXML | ||||
|     public void onHinzufügen(ActionEvent actionEvent) { | ||||
|     public void onHinzufuegen(ActionEvent actionEvent) { | ||||
|         String gerichtName = name.getText(); | ||||
|         String beschreibung = description.getText(); | ||||
|         if(!isHauptgerichtRadio.isSelected() && !isDessertRadio.isSelected()){ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user