Question: Design and create a graphical (GUI) application that allows the user to choose different shape for displaying its area and perimeter. Three choices: 1. Circle-enter

 Design and create a graphical (GUI) application that allows the user

Design and create a graphical (GUI) application that allows the user to choose different shape for displaying its area and perimeter. Three choices: 1. Circle-enter the radius value 2. Rectangle: enter the width and height value:s 3. Square: enter each side value Requirements 1. Give the user at least three choices or more options for different shape they want to display its area and perimeter as well as the information 2. Setup the title bar as: GUI Application 3. All result values must be un-editable for the user. Also, the area and perimeter values must be displayed with two decimal places. 4. You must use the Circle, Rectangle, and Square classes you have created from Assignment 1 to call each getArea) and getPeriemter0 method to display its area and perimeter as well as call getName) method to display the information about the shape with the value. 5. Disable some textfields if the shape does not be applied. For example: For Circle shape, the program will be disable for width, height and side textfields. 6. Event handles for any GUI component 7. Exception handling if the user enters non-numeric value The interface is similar to the following figure: (or design your own interface) GUI Application Pick up one shape: CIRCLE Input Data: radius: 20.15 width: height: side: Result: Shape is: [Circle) radius Area is: Perimeter is: 126.61 20.15 1275.56 Get Clear Exit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!