Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Using Java Fx and OOPS concepts learned in your class, code the Assignment in Ja

ID: 3917500 • Letter: U

Question

Using Java Fx and OOPS concepts learned in your class, code the Assignment in Java FX. Style the 3 scenes in this app using separate stylesheets.

The application Pizzashop will have all the choices for regular and feast pizza and use gridpanes for different scenes.

1. In the first scene, ask name, type (radiobutton) and size of pizza (radiobutton) and let the user add toppings (CheckBox, check for max toppings for each of the pizza type as in your Midterm). Show a logo on top left corner with all the title for your shop.

2. Once the user clicks a button in scene1, it takes him to scene 2 where the user sees his order details and a choice to choose his payment.(use radiobutton here). Once the user clicks a payment button in scene 2, it takes him to scene 3.

3. In scene 3, For debit and credit payment show a hyperlink window which takes the user to the respective payment sites, ex interac for debit., paypal for credit. and an image of cash for cash option.

Pizza 2 ToppingsRegular Feast 3 Toppings Small (10S) Small (10S) 2.5S/Topping 2.5S/Topping Medium (125) Medium (12S) Large (14S) Large (145) Total Cost of Pizza TypeofPizzaBaseCost NumberofToppings CostPerTopping

Explanation / Answer

package javafx.example import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.stage.Stage; public class CSSDemoApplication extends Application { @Override public void start(Stage primaryStage) throws Exception { Parent root = FXMLLoader.load(getClass().getResource("css_demo.fxml")); Scene scene = new Scene(root, 800, 500); primaryStage.setScene(scene); primaryStage.show(); } public static void main(String[] args) { launch(args); } } Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. .root { -fx-font-size: 14px; -fx-font-family: sans-serif; -fx-background-color: #ffffff; } .header-section { -fx-padding: 10px; -fx-font-size: 20px; -fx-background-color: teal; } .header-section Label { -fx-text-fill: #ffffff; -fx-padding: 10px; } #account { -fx-background-color: transparent; -fx-text-fill: #ffffff; -fx-font-size: 16px; -fx-cursor: hand; } .sidebar-section { -fx-min-width: 200px; -fx-pref-width: 200px; -fx-max-width: 200px; -fx-border-width: 1; -fx-border-color: transparent #E8E8E8 transparent transparent; } .sidebar-section Label { -fx-font-size: 18px; -fx-padding: 10 15 10 15; -fx-border-width: 1; -fx-border-color: transparent transparent #E8E8E8 transparent; -fx-min-width: 200px; -fx-pref-width: 200px; -fx-max-width: 200px; } .content-section { -fx-padding: 10 20 10 20; -fx-wrap-text: true; } #content-header { -fx-font-size: 18px; -fx-padding: 0 0 10 0; -fx-font-weight: 700; } #content { -fx-wrap-text: true; -fx-font-size: 16px; } #footer-section { -fx-alignment: center; -fx-padding: 10 10 10 10; -fx-border-width: 1; -fx-border-color: #E8E8E8 transparent transparent transparent; }
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote