Download HelloWeb.java 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
Graphics class in the
package, to find the “methods” you use to draw shapes and text.
Look for method names that start with “
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.
(from the HelloWeb example)
to start with, just change the names as appropriate.
g.setColor() to change the color of the subsequent
text and shapes.
paint() method of
GUIGreet.java 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
.classfiles 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.
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 “
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.
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!