[Solved]Distance Conversion Gui Program Write Java Fx Gui Program Asks User Enter Distance Miles I Q37242445
Distance Conversion GUI Program Write a JAVA FX GUI program thatasks the user to enter a distance in miles inside a Text Box. Thetitle of the GUI should be Miles Converter. The GUI will thenpresent the following two buttons: Convert Quit Convert buttonif clicked should: o Convert to kilometers o Convert to inches oConvert to feet o And display all three results on the GUI. Quitbutton if clicked should: o Close the GUI The program will convertthe distance to kilometers, inches, and feet rounded to twodecimals. Here are the specific formulae: • Convert the miles tokilometers using the following formula: kilometers = miles * 1.6093• Convert the miles to inches using the following formula: inches =miles * 63360 • Convert the miles to feet using the followingformula: feet = miles * 5280 • The program should continue toconvert any mile entered into all three units until the user clicksthe quit button to quit the program. • The program should notaccept negative numbers for the distance in miles and should throwan Exception. • Make sure that your GUI looks good and performs thefunctions correctly. The program that this has to be done inEclipse(written in java).
Expert Answer
Answer to Distance Conversion GUI Program Write a JAVA FX GUI program that asks the user to enter a distance in miles inside a Tex… . . .
OR

