Question
Using Java FX 1.) Create a simple Java FX Form to Display Student Data. The top part of the form should say Student Information. The
Using Java FX
1.) Create a simple Java FX Form to Display Student Data. The top part of the form should say Student Information. The middle part of the form will contain labels and textFields; one each for ID, FirstName, LastName, Email and GPA. The bottom part should have 5 Buttons that read Find, Insert, Delete, Update and Exit.
2.) Add a few neat Java FX features, like tooltips, borders, colors, etc. Also the Exit button should work and the X at the top right of the Window should also close the Application. Make it so that when the User clicks on the Exit Button, a MessageBox Window popup and ask the User if they are sure that they want to exit. If they say Yes, then Exit the App.
The only way I want this done is in Javafx only no SWING
I want my pubic void start(Stage primaryStage) method to only include 4 lines of code, that set the primaryStage title, creates the scene object(calling my getMainPane()),sets the Scene. then shows the primaryStage.
I want my getMainPane() to include 5 lines of code:it creates myborderPane object, then it sets the Top, Center and Bottom by calling my other pane creation methods (addPane(), addGridPane(), and addHBox()), then it returns my borderPane to the calling Scene creation in my start method.
I want addPane(), to have 6 lines of codes that sets up a regular Pane for my Text Header that is placed at the Top of my BorderPane within the getMainPane() method..
I want addGridPane() to have all my labels and text fields.This is placed on the Center of the BorderPane within the getMainPane() method.
I want addHBox() to create an HBox object that will house all of my buttons and is placed onto the Bottom of the BorderPane within the getMainPane() method. I also do all of my button event checks in this method.
I need it to be done like that ^
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started