help with an assignment programming (java)

do everything in the instructions file.Note: the code of (Circle, ConvexPolygon, Point, Shape) files have done, there are other four files have to solve.However, I could not attach the java files here! let me know how I can sent it to you.

Unformatted Attachment Preview

Don't use plagiarized sources. Get Your Custom Essay on
help with an assignment programming (java)
Just from $13/Page
Order Essay

Deadline: November 26 23:59
The goals of this lab are:
? implement classes from specifications,
? write and use unit testing to verify your solution, and
? implement a GUI.
In lab 09 you implemented an hierarchy of classes to represent 2D shape objects.
Now it is time to build an application that allows the visualization of shape
objects. For your reference the classes created in lab 09 are summarized by
the UML class diagram below.
UML Class Diagram
This lab is divided in two parts to help your implementation.
Part I
In Part I you are asked to build an application that uses the hierarchy of classes
from lab 09 that demonstrates the use of 2D shape objects and that follows the
minimum requirements specified below:
? the application must implement a GUI to show up to n randomly
generated shape objects, with n easily changed;
? when generating the shapes, the application should be able to switch
between different types of shapes, alternating between circle and polygon
? when the application reaches the n shape objects generated it should then
automatically remove the oldest shape on the next iteration;
? the application should “run forever” until the user closes the GUI’s frame;
? when the application generates a circle, the center and the radius of the
circle should be randomly assigned;
? when the application generates a polygon, the number of sides and the
location of the vertices should be randomly assigned;
? of course the higher the number of vertices the lower is the probability of
finding a polygon that is convex; therefore, to avoid having long waits
(while the application is trying to generate a convex polygons) the
application should automatically decrease the number of vertices whenever
it fails to instantiate a convex polygon until it reaches the minimum value of
three vertices;
? all shapes generated should also have a minimum area of 104 and a
maximum area of 102 0 .
Part of the code to generate the GUI is given to you and it is very similar to the
code you used in the first programming assignment. You are not required to
use the provided code. However the application should be run by the
ShapesDemo class and make use of the hierarchy of class developed in lab
09. Part II In this part of the assignment you will add some “spice” to your
shapes demo application. The polygon shapes should have the ability to
rotate over their centers given a certain angle in degrees. Search online how
to rotate polygons and add this new feature to your polygon shapes.
Part II
In this part of the assignment you will add some “spice” to your shapes demo
application. The polygon shapes should have the ability to rotate over their
centers given a certain angle in degrees. Search online how to rotate
polygons and add this new feature to your polygon shapes.
Rubric (Grading)
+75 Part I
+20 circle shapes randomly generated.
+25 polygon shapes randomly generated.
+5 polygon shapes generation automatically decreases number of vertices
down to 3 when fails to generate convex polygon .
+10 application maintains a list of n shapes and automatically removes
oldest shape.
+5 shapes have area between configurable limits.
+10 GUI similar to expectations.
+25 Part II
+5 method to compute the center of a polygon.
+10 method to rotate a polygon over its center given an angle in degrees.
+10 GUI shows rotation.

Purchase answer to see full

Order a unique copy of this paper
(550 words)

Approximate price: $22

Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
The price is based on these factors:
Academic level
Number of pages

Order your essay today and save 15% with the discount code ESSAYHELP