Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1411246 Object Oriented programming with Java Homework #1 eclipse 1411246- Object Oriented programming with Java Homework #1 Spring 2015/2016 Due Date: Mar. 6, 2016 Objectives:

1411246 Object Oriented programming with Java Homework #1

eclipse

image text in transcribed

image text in transcribed

image text in transcribed

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_qt_myID_.java For example, HW1-q1_a000 111 11.java (a? 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 than 800 pixels in each direction date, ID, name, and HW number The dimensions of your applet must be at least 500 pixels in each direction and no more You must add a comment at the top of your code stating that you are the author, the 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

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

Organic Chemistry

Authors: Joseph M. Hornback

2nd Edition

9781133384847, 9780199270293, 534389511, 1133384846, 978-0534389512