Written assignment(Due by Mon. Sept. 13 8pm via email):
Answer the questions on the Assignment 1 handout. If you would like your
homepage published, include the URL for it with your assignment.
Programming assignment(Due Fri. Sept. 24 in class):
The purpose of this assignment is to help you remember the stuff you learned
earlier.
Write an applet and an application that simulates an 8 Ball. Users should be able to enter a yes-or-no question and get a random answer like yes, no, maybe, absolutely, the answer is unclear, not likely, etc. There should be at least 12 possible answers. Include animation.
Hand in:
Programming assignment(Due Tues. Sept. 28 beginning of class):
Write an applet that reads a file of data and allows the user to search
for items in the data. The first line of the file is the title of the
database. The second line will contain the names of the data fields separated
by #.
Subsequent lines contain data records, with data fields separated
by a #. Your applet will read in the title and display it with animation.
Then your applet will read in the data and put up a GUI that allows the
user to search for information. All fields will be treated as Strings.
You decide the topic of the database. You may write your own code or
modify the
example used in class.
Hand in: Hardcopy of the applet and its output
Programming assignment(Due Fri. Oct. 1 in class):
Use Cafe to compile and run the program you wrote for the last assignment.
Write a short essay describing the differences between using an IDE and
using Sun's JDK. Tell what you, personally, like and dislike about each.
Programming assignment(Due Tues. Oct. 12 in class):
The purpose of this assignment is to give you some practice using Swing and
to get you to think about writing code
for extensibility and flexibility.
Rewrite your previous applet using Swing components instead of AWT components. Add a text field where the user can enter the URL of the data file they want to access. Get the URLs of several of your classmate's data files and run your applet with their files. (You may or may not need to make other changes to your applet.)
Hand in:
Write the insertAtTail method for the Linked List class. Add code to the LinkedListDemo class to show that your insertAtTail works. Due Friday Oct 22 at the beginning of class
Hand in:
For 20 points extra credit each, write deleteAtHead, deleteAtTail, deleteAfter(Object o),delete(Object o), and boolean find(Object o).
You can also get points for writing a linked list version of any method in the Vector class that makes sense for a linked list. Due Tuesday Oct 26 at the beginning of class
Hand in:
Hand in:
Hand in:
Due Nov. 12
Due Nov. 16
Add code to your server so it will write a file that contains information about each client that connects to it. The information should include the day and time (Date). Have the server append to the file, rather than rewrite it every time you start the server.
Due Nov. 19
Due Nov. 23
Homework - have a good Thanksgiving.
Hand in: Source code and url if it is an applet. If it is an application, put it in your Public directory and tell me where to find it.
Write a Java 1.2 applet or application that shows a string using 6 different Strokes and 6 different fonts chosen randomly from the system list of fonts. For 2 sets of string/image pairs, use the string as a clipping area for the image.
Hand in: Source code and url if it is an applet. If it is an application, put it in your Public directory and tell me where to find it.
Last Updated by S.L Bartlett : Friday, December 03, 1999, at 13:01:32 EST