# Answer to Question #68590 in Java | JSP | JSF for mysteryman

Question #68590

Write a simple GUI based Java desktop application to capture the width and height of a rectangle entered by the user. The application will have THREE (3) buttons. The first two buttons allow the user to calculate and display the rectangle area and perimeter in a label respectively based on the given input. The third button functions will terminate and exit from the application. The formulas to calculate a rectangle area and perimeter are given as below:

area = length * width

Perimeter = length + width + length +width

Separate the application codes into THREE (3) different classes, where first class is to construct the application components and handle the events, the second class to construct the frame container for the application, and the third class to execute the application.

area = length * width

Perimeter = length + width + length +width

Separate the application codes into THREE (3) different classes, where first class is to construct the application components and handle the events, the second class to construct the frame container for the application, and the third class to execute the application.

Expert's answer

Dear mysteryman, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed:

**Submit order**Need a fast expert's response?

Submit orderand get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

## Comments

## Leave a comment