Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Project 1 Java 2D Graphics In this project you will create 3 simple, images or your choice and use Java 2D graphic methods to rotate,

Project 1 Java 2D Graphics

In this project you will create 3 simple, images or your choice and use Java 2D graphic methods to rotate, scale and translate each of the images.

Requirements:

Using Netbeans or Eclipse, develop a Java 2D graphics application that creates 3 images. The images should have the following specifications:

Size: minimum 25x25 pixels, larger images are Okay

Type: Color (consists of two or more colors)

Simple form or shape (Hint: consider a letter or number, or even simple shapes such as

crossing lines, rectangles, or circles

You should generate the image inside of separate methods and store them as 2D arrays.

Use Java 2D graphics to display your original images.

For each image use the existing Java 2D graphics transformation methods to translate, rotate

and scale each object. You should perform the following transformations on each image:

a. b. c. d. e.

f.

Translate -5 in x direction, Translate +7 in the y direction. Rotate 45 counter clockwise. Rotate 90 clockwise Scale 2 times for the x component, scale 0.5 times for the y component Each of these transformations should be displayed in sequence with the images always starting from the previous transformation as opposed to the original image.

Use Java 2D graphics to display each transformation for each image. (Hint: review the Project 1 template for a good start for this project.) source code should be written using Google Java style guide.

All Java

Prepare, conduct and document a test plan verifying your application is working as expected.

This plan should include a test matrix listing each method you tested, how you tested it, and the results of testing.

Deliverables:

All Java source code used for this project. Code should adhere to the Google Java style guide.

Word or PDF file demonstrating with clearly labeled screen captures and associated well-written

descriptions, the success execution of your 2D graphics transformation. The document should be well-written, well-organized, include your test plan, include page numbers, captions for all screen captures, and a title page including your name, class, section number and date. References should be included for all sources used and formatted in APA style.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Visual Basic Net Database Programming

Authors: Rod Stephens

1st Edition

0789726815, 978-0789726810

More Books

Students also viewed these Databases questions

Question

1. What are your creative strengths?

Answered: 1 week ago

Question

What metaphors might describe how we work together?

Answered: 1 week ago