[Solved] Apply Java FX and exception handling to design a Circle App class using properJava FX GUI components, such as labels,

Apply Java FX and exception handling to design a Circle App class using properJava FX GUI components, such as labels, text fields and buttons (Submit, Clear, and Exit) to compute the area of circle and display the radius user entered in the text field and computing result in a proper location in the application window. It will also verify invalid data entries for radius (No letters and must be a positive real number) using exception handling. Your code will also have a custom-designed exception class named Negative Double Exception to handle the negative data exception. Your validation infomay be displayed in the application window or use output method of J Option Paneto prompt user for the correct data entry. Use loop to allow user to reenter a radius if it isinvalid until a correct data is entered.

1. Run and test your code to meet the requirements (you don’t need worry about the separation). Your validation code will continue to run until the valid data is entered.  Must use meaningful names for fields, variables, methods and classes.
2. Must use GUI components (Label, TextField, 3 Buttons). You may use any layout manager in your code.
3. Must document each of your source code (see example in the next slide)

Leave a Reply

Your email address will not be published. Required fields are marked *