Question
Develop a Java GUI application that will capture a maximum of five hospital inspection details, including the years since an inspection occurred. Q.1)Create two text
Develop a Java GUI application that will capture a maximum of five hospital inspection details, including the years since an inspection occurred.
Q.1)Create two text fields on the form to allow users to enter the hospital name and location. Also, include a combo box that will be used to select the years since the last inspection. The year range is one year to five years.
Also, add three buttons, one for saving the hospital inspection details to an array type of your choice, another button to print the hospital details from the array to a list box, and a third button to clear the controls.
Q.2)You are also required to create a menu system which will allow the user to exit the application under the file menu. Under the tools menu, allow the user to save the hospital inspections, print the inspections, and clear the controls. The layout of the form is left to your discretion. Marks will be allocated to the presentation and effectiveness of the layout, but the following layout is displayed for your convenience.
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