Question: only have this picture please answer question general and same gui form write code java gui (without scene builder or fxml) Q6. (8 points) Consider
only have this picture please answer question general and same gui form
write code java gui (without scene builder or fxml)

Q6. (8 points) Consider t', below GUI for the log in screen for 'e hospital management system. 'em In the last page, you can 1. . the general structure of a javaFX program, you ca , use it as base write your code. The following are the Todos: 1- (3 points) Write the full code for the above GUI (No Scene Buider or FXML) You program s be called "Interface.java". Your code has to start from main. 2- (5 points) Implement the functionality of "Log in" button as follows: a. Add an object reference called HospMan of type HospitalManagementSystem some your class (set it to public). b. If the user clicks the button, your program should read the values from the Text fiel ONLY, which are user name and password. c. Then, In HospitalManagementSystem class, there are already two static arrayLists: and doctors. Your program should: i. Find the patient or doctor who has the same user name as the one in the G ii. Call the method validate (found in the abstract superclass "SystemUser") object. If the method validate returns true, you should print the message (in command line): "log in suc therwise, if the object with the same username is not found or vlaidate returns false: print out: ailed
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
