(Solution) 1411246 - Object Oriented Programming With Java Homework #1 Spring 2015/2016 Due Date: Mar. 6, 2016 Objectives: Learn Drawing Techniques On An Applet... | Snapessays.com


(Solution) 1411246 - Object Oriented programming with Java Homework #1 Spring 2015/2016 Due Date: Mar. 6, 2016 Objectives: Learn drawing techniques on an applet...


1411246 – Object Oriented programming with Java Homework #1 eclipsePage

 

|

 

1

 

1411246 – Object Oriented programming with Java

 

Homework #1

 

Spring 2015/2016

 

Due Date: Mar. 6, 2016

 

Objectives:

 

?

 

Learn drawing techniques on an applet

 

?

 

Use Graphics2D API

 

How to complete this HW:

 

1.

 

First read and analyze each problem; then implement both problems in a project called

 

HW1

 

.

 

2.

 

For each exercise, insert comments on ID, Name, and HW#.

 

3.

 

Submit the zipped solution on BB link. The name of each file should be

 

HW1_q#_myID_.java

 

.

 

For example, HW1_q1_u00011111.java (q? stands for question #).

 

Note on Honor Code:

 

You must NOT look at previously published solutions of any of these problems

 

in preparing your answers. You may discuss these problems with other students in the class (in fact,

 

you are encouraged to do so) and/or look into other documents (books, web sites), with the exception

 

of published solutions, without taking any written or electronic notes. If you have discussed any of the

 

problems with other students, indicate their name(s) in the comments section at the top of your

 

program. Any intentional transgression of these rules will be considered an honor code violation.

 

1.

 

City Scape Applet

 

You have been hired to design a city scape of buildings. This is a competition! Top city scapes in

 

the class will receive extra credit on this assignment. Get creative! Below is an example of what

 

you could do.

 

Grading will be based on adherence to the following specifications:

 

?

 

You must name your file

 

CityScape.java

 

exactly.

 

?

 

The dimensions of your applet must be at least 500 pixels in each direction and no more

 

than 800 pixels in each direction.

 

?

 

You must add a comment at the top of your code stating that you are the author, the

 

date, ID, name, and HW number.

 

?

 

You must print your first name on top of one of the buildings.

 

?

 

You must use at least three different colors (you can pick the colors).

 

?

 

You must color in the background - do not use

 

setBackground

 

instead, use

 

fillRect

 

and

 

fill the entire dimensions of your applet before you start drawing.

 

?

 

Create your own drawing; use the applet output as a guideline.

 

?

 

You must use each of the following methods at least once

 

a.

 

drawLine

 

b.

 

drawArc or fillArc

 

c.

 

drawRect or fillRect

 

d.

 

drawOval or fillOval as a circle

 

e.

 

drawOval or fillOval as an ellipse (non-circle)

 

f.

 

drawPolygon or fillPolygon

 

?

 

You may also use drawString and drawImage if you like.

 


Solution details:
STATUS
Answered
QUALITY
Approved
ANSWER RATING

This question was answered on: May 23, 2022

Solution~00021147602515.zip (25.37 KB)


This attachment is locked

Our expert Writers have done this assignment before, you can reorder for a fresh, original and plagiarism-free copy and it will be redone much faster (Deadline assured. Flexible pricing. TurnItIn Report provided)

Pay using PayPal (No PayPal account Required) or your credit card . All your purchases are securely protected by .
SiteLock

About this Question

STATUS

Answered

QUALITY

Approved

DATE ANSWERED

May 23, 2022

EXPERT

Tutor

ANSWER RATING

GET INSTANT HELP

We have top-notch tutors who can do your essay/homework for you at a reasonable cost and then you can simply use that essay as a template to build your own arguments.

You can also use these solutions:

  • ■ As a reference for in-depth understanding of the subject.
  • ■ As a source of ideas / reasoning for your own research (if properly referenced)
  • ■ For editing and paraphrasing.

This we believe is a better way of understanding a problem and makes use of the efficiency of time of the student.

Get Free Price Quote