Question: Must be written in java FX! write a java FX GUI program that makes a mileage calculator for a trip. The program should calculate overall
Must be written in java FX!
write a java FX GUI program that makes a mileage calculator for a trip. The program should calculate overall mileage as well as individua fuel ratings along each trip line ( for 5 legs).
Empty trip legs should not be included in calculations, should be computed when a Button is pressed
Must have a UI Controller ( CheckBox or RadioButoon with a ToggleGroup) to switch between MPG and liters per 100 kilometers. This UI controller should convert all current numbers in the GUI.
MUST: Accept User enter miles and duel usage for individual legs of a trip. Calculate both that leg's mileage, and the overall mileage for the entire trip. Blank entires should not be in calculations Assume a max of 5 legs per trip Have a Button to start calculations UI Controller must auto convert any current numbers in GUI
Thank you!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
