COP 2800 (Java Programming) Project #1
Logo Applet


Due: by the start of class on the date shown on the syllabus


Download to use as a starting point.  Modify this applet to display a business card logo.  The logo applet should contain some circles, lines, or rectangles, plus a business name (or just your name) as text.  This must be an applet, not a stand-alone program!

You are expected to use the Java API documentation (the “JavaDocs”) for the Graphics class in the java.awt package, to find the “methods” you use to draw shapes and text.  (Hint:  Look for method names that start with “draw” or “fill”.)

View a sample logo applet to see an example of what can be done.  Your logo need not look like the sample.  Try to be creative!  You will not be graded on the artistic merits of your logo, just that you were able to correctly create, edit, compile, and display a Java applet that included at least a few of the methods from the java.awt.Graphics to draw stuff, enough to show you made an effort to use the API (or JavaDoc) documentation.


Use and MinHTML.htm (from the HelloWeb example) to start with, just change the names as appropriate.  Use g.setColor() to change the color of the subsequent text and shapes.  See the paint() method of for examples of drawing lines, rectangles, and setting colors.  GUIGreet is not an applet, but you can use the Java statements in its paint method in your applet's paint method.

To be turned in:

Email to me your Java applet source and your HTML files, by copy-and-paste.  There is no need to include .class files in your submission.  (Please do not send as attachments!)  Send your project to .  Please use a subject such as “Java Project 1 Submission” or “Java Logo Project Submission”, so I can tell which emails are submitted projects.
Send project questions to .  Please use a subject such as “Java Project 1 Questions” so I can tell which emails are questions about the project.

Note: If you use Microsoft Outlook Express or a similar email program, please be aware that this program has a “feature” that automatically converts slash-slash (“//”) comments in your email to “FILE://”.  Make sure your java source is correct before you send the email!  If possible, use the “text” and not the “HTML” mode of your email program.

Late projects generally will not be accepted.  In the event a student submits more than one project, I will ignore all but the last one received up to the deadline.  Projects submitted after the deadline will not count toward your grade without the prior express approval of your instructor.

Other Requirements and Grading

You must turn in an Applet, not a stand-alone program.

You must meet all the requirements from the description above.  If you include any creative extras, be sure your program still displays a logo as described above.  Creative extras are extras and you are not free to modify the project requirements.

A non-working project can score quite well (so don't be afraid to turn one in).  Also a fully working project may not score 100%.  The criteria for grading are as follows:

Projects are graded according to their design (25%), how well they compile and run (20%), how well they meets the requirements specifications (20%), the coding style (15%), the amount (and quality) of comments(10%), and creativity in extending the project usefully, or an innovative design that uses the features taught in class well, etc. (10%).

You must work alone on your project, however you can ask your instructor for help anytime.  Do not wait until “the last minute” to begin work on your projects!

Please review Submitting Assignments and Project Grading Criteria from your class syllabus for further details.