help me dear god
This commit is contained in:
parent
9b6da5ba23
commit
3c52879df9
2 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue