Programming Homework Help

CMSC 335 UMUC Object Oriented & Concurrent Programming Java Swing GUI Project

 

Instructions

See attached project.

As for project 1, object orientation is one of the main learning objective. Use polymorphism appropriately, do not use instanceof. As always, keep variable scopes as local as possible, do not duplicate code, use methods to factor commonalities, and respect applying good naming conventions. Make sure that your comments are needed, and add useful information.

Here is a simple UI that I wrote satisfying the requirements. You will notice that the 2D shapes are scaled according to dimensions, but not the 3D shapes. You will also notice that the area or volume of the shape is displayed on the left side. You do not have to follow this layout, but this is to give you an idea about what can be done.