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