Richard G Baldwin (512) 223-4758, NRG Room 4238, Baldwin@DickBaldwin.com
http://www.austincc.edu/baldwin/

ITSE 2321 Object-Oriented Programming

Project 01

File Proj01.htm,

Revised: 06/01/14

R. G. Baldwin instructor

Read The Instructions Carefully

A detailed set of instructions is provided in a separate document titled Instructions for Downloading and Submitting Assignments that you can view at the official web site for this course.

I recommend that you study those instructions very carefully and  make yourself a checklist to ensure that you meet all of the requirements before submitting your assignment.

Failure to follow the instructions to the letter usually results in a failing grade, normally zero. The general instructions in that document apply to this assignment. In addition, this document provides specific instructions for the assignment.

If you have any questions regarding instructions, please ask them at least one week prior to the assignment deadline. Don't end up with a bad grade due to the fact that you didn't understand the instructions.

Every semester there are one or two students who are surprised and saddened to learn that I really do mean that you must follow the instructions and meet the specifications exactly or you won't get credit for the assignment. Don't be one of those students.

Output Images

Your output images must match my output images in every respect including color, size, etc., and they must be positioned in the upper-left corner of the screen Don't forget to display your name in the output images as shown.

Typographical Errors

If you discover any typographical errors in this document, please let me know so that I can correct the error and notify all of the students. 

Source Code, Class Files, and Image Files

You will find a source code file for the driver class for the program in the same zip file from which you extracted this project specification.

You will also find all required image files in that same zip file. Place the image files in the same folder as the source files for your programs. Do not specify a mediapath for the images in your programs.

You will also find compiled class files for my version of the program in that same zip file. Run my version of the program side-by-side with your version and compare your output image with my output image to make sure they match before submitting your assignment.

Java and Media Library Version Requirement

Software version requirements are specified in the accompanying document titled Instructions for Downloading and Submitting Assignments and in the syllabus for this course.

Proj01 Copyright 2014 R.G.Baldwin

Among other things, this assignment involves:

  • Instantiating an object from a class library and encapsulating an image into that object.
  • Definition of a new class.
  • Definition of a constructor for a new class.
  • Definition of methods in a new class.
  • Instantiation of an object of a new class.
  • Saving an object's reference in a reference variable.
  • Using an object's reference to call methods on the object.
  • Declaration of private instance variables.
  • Declaration of reference variables.
  • Using a class library other than the standard class library.
  • Setting a classpath to point to a class library.
  • Using class library documentation to learn how to use the classes in the library.
  • Instantiation of objects from a class library and calling available methods on those objects.
  • Definition of public methods including accessor methods.
  • Using methods belonging to an object instantiated from a class in the library to create, modify, and display an image.
  • Superimposing text onto an image.

PROGRAM SPECIFICATIONS

Write a program named Proj01 that uses the driver class definition provided in the file named Proj01.java and Ericson's media library along with the image file named Proj01.jpg to produce the graphic output image shown below.

You may define new classes as necessary to cause your program to behave as required, but you may not modify the class definition provided in the file named Proj01.java.

Hint: You may need to go back to one of your high school math books to refresh your memory on how to draw a circle in a Cartesian coordinate system.

In addition to the required output image, your program must display your name and the other lines of text shown below on the command-line screen:

Display your name here.
A 394 by 295 world with 2 turtles in it.
joe turtle at 197, 237 heading 90.0.
sue turtle at 317, 267 heading 0.0.

Proj01. Required output image.
Missing image

-end-

Copyright 2014 Richard G. Baldwin