CS 101 - Introduction to Computing, Fall 2008

Project 3 - A Flag Collage

Due Date: Tuesday 11/18/2008 at 11:59 pm

If the project is submitted by the above date and time, 15 points extra credit.
The project must be submitted by Friday 11/21/08 by 5:00 pm.

For this project, write a program that will create a collage of pictures that resembles the flag of a country. Your collage must be made by copying at least 3 pictures onto a blank canvas. Each of the three pictures must be modified in a different manner. These modification should be done to make the needed colors for the flag of your choice.

If the pictures used are thematically related to the country whose flag you chose, you will receive 10 point extra credit.

The following are examples of modification that you might want to do to the pictures chosen:

Check out examples of flags and an example of a finished example (this is from the original site of this project). As a suggestion, don't use a flag with a complex image/symbol on it. Here is a list of many flags from around the world.

You are to write and use at least two methods for this project. A good idea is to write methods for each of the three modifications. Also, you should hard code the name of the images used for this project. You are not to use pickAFile() to prompt the user for the names of the images used. You may use pickAFile() to determine the directory that all the images are in. You may want to use setMediaPath() in the FileChooser class to read in the needed images.

Here are a list of examples done by other students in CS 101.

Project Collaboration

You are allowed to receive help on this project from other students who are also taking CS 101. Each student must still complete and submit his/her own project. You will be required to include a Collaboration Statement somewhere on your project if you receive help. This statement can simply be something like the following:
For this project, I received help from the following member of CS 101.
This statement should list each helping student's name in a comment in the "header comment" of your Java file that includes the main() method.

Submission of your Project

You must electronically submit all of your files (all .java files, any image files and any other files used) via the UNIX turnin command using the project name of proj3.

The easiest way to submit the UNIX turnin command, is to create a directory that contains all of the files needed for your project. Then you turnin the entire directory. For example, assume you create a subdirectory in your HOME directory called proj3directory. In this "proj3directory" directory you contain all of the files needed for this assignment. If you are in your HOME directory, you can the type in the command:

    $> turnin -c cs101 -p proj3 proj3directory
To verify what you submitted using the turnin command type:
    $> turnin -c cs101 -p proj3 -v

This project was modified from project for Ga Tech's CS 1315.

CS 101 Home Page
Department of Computer Science
University of Illinois at Chicago