diff --git a/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/src/main/java/com/example/CartController.java b/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/src/main/java/com/example/CartController.java index 4384e02..021611c 100644 --- a/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/src/main/java/com/example/CartController.java +++ b/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/src/main/java/com/example/CartController.java @@ -1,6 +1,5 @@ package com.example; -import com.example.App; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.event.ActionEvent; @@ -10,6 +9,7 @@ import javafx.scene.control.Label; import javafx.scene.control.TableColumn; import javafx.scene.control.TableView; import javafx.scene.control.cell.PropertyValueFactory; +import javafx.scene.input.MouseEvent; import java.io.BufferedReader; import java.io.FileReader; diff --git a/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/src/main/java/com/example/CheckOutController.java b/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/src/main/java/com/example/CheckOutController.java index 8a99bc4..6150400 100644 --- a/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/src/main/java/com/example/CheckOutController.java +++ b/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/src/main/java/com/example/CheckOutController.java @@ -5,6 +5,7 @@ import java.io.IOException; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.scene.control.*; +import javafx.scene.input.MouseEvent; public class CheckOutController { diff --git a/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/src/main/java/com/example/MouseEvent.java b/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/src/main/java/com/example/MouseEvent.java deleted file mode 100644 index 880ac40..0000000 --- a/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/src/main/java/com/example/MouseEvent.java +++ /dev/null @@ -1,5 +0,0 @@ -package com.example; - -public class MouseEvent { - -} diff --git a/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/src/main/java/com/example/ShopController.java b/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/src/main/java/com/example/ShopController.java index 8066289..0e1c5ba 100644 --- a/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/src/main/java/com/example/ShopController.java +++ b/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/src/main/java/com/example/ShopController.java @@ -7,7 +7,7 @@ import javafx.fxml.FXML; import javafx.scene.control.Button; import javafx.scene.control.Label; import javafx.scene.control.TextArea; -import com.example.App; +import javafx.scene.input.MouseEvent; public class ShopController { diff --git a/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/src/main/java/module-info.java b/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/src/main/java/module-info.java index aab90f4..79b7e08 100644 --- a/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/src/main/java/module-info.java +++ b/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/src/main/java/module-info.java @@ -1,7 +1,9 @@ module com.example { requires javafx.controls; requires javafx.fxml; + requires transitive javafx.graphics; opens com.example to javafx.fxml; + exports com.example; } diff --git a/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/target/classes/com/example/CartController.class b/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/target/classes/com/example/CartController.class index 8194c78..2a987f5 100644 Binary files a/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/target/classes/com/example/CartController.class and b/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/target/classes/com/example/CartController.class differ diff --git a/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/target/classes/com/example/CheckOutController.class b/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/target/classes/com/example/CheckOutController.class index f2a8c80..f547815 100644 Binary files a/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/target/classes/com/example/CheckOutController.class and b/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/target/classes/com/example/CheckOutController.class differ diff --git a/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/target/classes/com/example/MouseEvent.class b/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/target/classes/com/example/MouseEvent.class deleted file mode 100644 index a921ef0..0000000 Binary files a/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/target/classes/com/example/MouseEvent.class and /dev/null differ diff --git a/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/target/classes/com/example/ShopController.class b/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/target/classes/com/example/ShopController.class index 6a97179..5410f16 100644 Binary files a/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/target/classes/com/example/ShopController.class and b/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/target/classes/com/example/ShopController.class differ diff --git a/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/target/classes/module-info.class b/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/target/classes/module-info.class index e4a6fa4..34cdc14 100644 Binary files a/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/target/classes/module-info.class and b/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/target/classes/module-info.class differ