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;
|
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
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue