Create a GUI program to convert meters to feet and feet to meters. As a beginning point, you may use either the GUI you created for Lab 11 or email me with a request for a copy of the program from me.

Use the following formulas to calculate the conversions:

meters = 0.305 * feet
feet = (1 / 0.305) * meter

When the user enters the distance either in meters or in feet, the results should be displayed in a dialog box and all user input should be cleared from the text field.

All components should be JavaFX. Points will be deducted if Swing/AWT components are used. You MUST use lambda in this program. Lambda is the most efficient way to handle events. Points will be deducted if lambda is not included. Also, use the appropriate access modifiers for the data fields (components).

For 2 points extra credit, in addition to displaying results in a dialog box, also write the results to a file of the users choice using JFileChooser and include exceptions as needed.

Sample Output: see image.

Before starting this lab, be sure to refer to the How Grades are Determined document in eLearn for proper file name, documentation, naming conventions, etc. Points may be deducted if submitted incorrectly. Before submitting in the dropbox, please reread the entire assignment to confirm all requirements have been met.

Recommended name for new Java project: LastnameFirstname_Lab12
Recommended name for package: chap15EventDriven
Recommended name for class: FeetMetersConversion
Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.