- Jan 13 - Read: Ch 1 and 2
The "Hello World" Application and
The "Hello World" Applet.
Programming assignment:
The purpose of this assignment is to introduce you to beginning Java programming
concepts and to get you to
find the Java compiler, learn how to edit, compile, and print Java source
code files, and to learn how to print the output of your Java applications and applets.
Write a Java application, using good style, similar to the
Hello.java application,
that will print your name and something about you. Write a Java applet, similar to the
HelloApp.java applet, that will print your name and something
about you on one of
your web pages.
- Jan 20 - MLK Day - no class
- Jan 27 - Read Ch. 4, 6, and 7 and
Object-Oriented Programming Concepts: A Primer and
Objects, Classes, and Interfaces and
Subclasses, Superclasses, and Inheritance
Programming assignment:
The purpose of this program is to give you a chance to look at other people's
java code and see how they organize their classes and to get some practice doing
object oriented design.
Homework:
- Find source code for a cool applet.
- Modify it in some way.
- Format it according to my style specifications
- Put it on your class page.
- Be sure your class hierarchy includes all the classes in the applet
- Be sure you give the original author credit
- on your page
- in your header
- On the hardcopy of your applet code:
- underline all the class names
- circle the instance variable declarations
- put a rectangle around the method definitions
- put a * next to all the class variables and class methods
Hand in the annotated
hardcopy of your applet code with the URL of the original applet
and the URL of your modified applet.
- Feb 3 - Read Ch. 3 and 5 and
The Nuts and Bolts of the Java Language
Programming assignment:
The purpose of this program is to give you an opportunity to practice loops and branching statements.
Write a application and an applet that prints out a
random
number of
randomly selected cliches based on whether it is
AM or PM.
Hand in hardcopy of your source code for both the applet and the application
and hardcopy of the output of your application.
- Feb 10 - Read: Ch 8 and 9 and
Overview of Applets and
Methods for Milestones and
Using Graphics Primitives and
the Applet class
and
the Graphics class
Programming assignment:
Write a detailed main header for your project. Include a rough sketch of the graphical
user interface.
Here are some
suggestions
from Dr. Frost.
- Feb 10 - Prepare a main header for your
project and a rough sketch of the graphical
user interface (GUI).
- Feb 17 - Ch 13 and 14 and
Creating a User Interface and the associated class descriptions and
How to Use Frames and
How to Use Menus and
How to Use Dialogs and the associated class descriptions.
Programming assignment:
Put some color and fonts in your project and begin laying out the widgets for your GUI.
Hand in:
Source code and screen shot (or reasonable facsimile) of your running
program.
- Feb 24 - Midterm Exam
- Mar 3 - Spring Break
- Mar 10 - Read: Ch 12 and
Event Handling and the associated class descriptions.
Programming assignment:
"Finish" your GUI and add event handling.
Hand in:
- Hard copy of your code
- A description of what has been added since the last time
- Screen shot (or reasonable facsimile) showing the new stuff
- Mar 17 - Read: Ch 10 and 11 and
Performing Animation and
Playing Sounds and the associated class descriptions.
Programming assignment:
Begin adding sound and animation to your project.
Hand in:
- Hard copy of your code
- A description of what has been added since the last time
- Screen shot (or reasonable facsimile) showing the new stuff
- Mar 24 - Read: Ch 10 and 18 and
Threads of Control and
the Thread class.
Programming assignment:
Work on your project.
Hand in:
- Hard copy of your code
- A description of what has been added since the last time
- Screen shot (or reasonable facsimile) showing the new stuff
- Mar 31 - Read: Ch 14 and 19 and
String and StringBuffers,
doing I/O,
Communicating with other programs,
Networking and security,
I/O classes and
Networking classes
Programming assignment:
Grade a class mate's program.
Program - 50 points for having everything required:
(-5 each thing that is missing from the code, -1 each stupid line of code)
- color
- fonts
- GUI
- event handling
- sound
- animation
Style - 50 points for having good style.
( int i for loops is ok, x and y in event handlers is ok)
-1 if they don't indent 3 spaces
-1 for each occurence of every other style error
Hand in:
- The other person's program with your name and the grade you gave them on it.
- Apr 7 -
Programming assignment:
Work on your project.
Hand in:
- Hard copy of your code
- A description of what has been added since the last time
- Screen shot (or reasonable facsimile) showing the new stuff
- Apr 14 -
Programming assignment:
"Finish" your project.
Hand in:
- Final hard copy of your code
- Screen shots showing what it does
- Apr 21 -