computer science report

profileylamar94
PotentialProjectTopics-ShapeCalculator2.doc

Project Assignment (Due April 10th)

This project is to write a GUI program to calculate different shape’s area and display images of each shape. The interface can have three panels for “input data”, “display figures”, and “output results”. The input data panel can allow user input length, width, height, radius for certain shapes. The display figures panel can display at most six figures in an order. The output result can show the result of area, cube or circumference of each figure in a text area after the user press calculate button. A sample GUI is shown in following.

image1.png

Your program must have following features:

1. Your program should be able to validate input data.

2. Your program can allow user to have 5 times to input data, after 5 times, the GUI interface is gone.

3. If the user input invalidate data, your program should be able to report the error message to the user.

4. The figures’ size should be adjustable with the input data, i.e., after the user click calculate button, the size of the figure should be adjusted with the user’s input data and displayed properly.

5. Your program should be able to calculate and display minimum six different shapes in area and volumes, and show the figures with regarding to user input size.

6. Your program should be able to use colors of different shapes.

Deliverable requirements:

1. There are two deliverables of this term project, one is midterm report which is due before midterm, the other is final project report which is due by April 10th.

2. The template of report is available in Blackboard.