Question
software enginnering: GUI The fines for Speeding in one of the counties in Florida is given in the following table. MPH Over Speed Limit Fine
software enginnering: GUI
The fines for Speeding in one of the counties in Florida is given in the following table.
MPH Over Speed Limit | Fine |
Less than 10 MPH | $129.00 |
Less than 15 MPH | $204.00 |
Less than 20 MPH | $254.00 |
Less than 30 MPH | $279.00 |
Greater than or equal to 30 MPH | Court Mandatory |
If you speed in school or construction zone your fine can be doubled.
You are asked to create a GUI by the Florida government for the above problem.
GUI should allow the user to enter the following Inputs:
Speed Limit of a zone. (Text Box)
Speed of the Vehicle (Text Box)
Whether Construction or School Zone (Radio Button preferably)
For example
Case 1:
Speed Limit: 45 MPH
Vehicle speed: 57 MPH
Construction or School Zone: No
Total Fine = $204.00
Case 2:
Speed Limit: 45 MPH
Vehicle speed: 57 MPH
Construction or School Zone: Yes
Total Fine = $408.00
(Fine is doubled as the speed violation happened in the School or Construction zone)
Create a GUI where the inputs are entered and output which is the calculated fine should be exhibited in a different text box like we did the sampleAdder program that calculated sum of two numbers. You can do the program in JAVA FX
Make the GUI as presentable as possible.
Points Distribution:
A method which calculates the Correct fine
GUI Application
Rest of the Program dealing with the GUI
GUI Inputs
GUI Output
Error Handling
GUI Presentation
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