help me dear god

This commit is contained in:
sageTheDM 2025-01-12 22:48:56 +01:00
parent 9b6da5ba23
commit 3c52879df9
2 changed files with 4 additions and 3 deletions

View file

@ -1,5 +1,7 @@
package com.example; package com.example;
import java.io.IOException;
import javafx.fxml.FXML; import javafx.fxml.FXML;
import javafx.scene.control.Button; import javafx.scene.control.Button;
import javafx.scene.control.Label; import javafx.scene.control.Label;
@ -71,9 +73,8 @@ public class ShopController {
} }
@FXML @FXML
private void handleCartButton() { private void handleCartButton() throws IOException {
System.out.println("Cart button clicked!"); App.setRoot("cart");
// Logic for displaying the cart.
} }
@FXML @FXML