Due: Monday Feb 3, 2003

Homework 1

  1. In this question, we want to to set up a webpage containing a Java Applet.
    -- First read Introduction to Java Applets.
    -- Follow the instructions there to set up your own webpage for this class.
    -- On your webpage, please associate the applet HelloApplet1.java from the above introduction to Java Applets.
    -- For a handy reference on basic html, you can use my tutorial.
  2. Study the code for DragKing.java under our lect/progs/java2d/ directory. Create an extension of DragKing where there is an ellipse as well. The user can change the parameters of the ellipse by dragging corners of its bounding box.
  3. INSTRUCTIONS FOR SUBMITTING THIS HOMEWORK:
    -- Please form your teams immediately. Here are the team ground rules.
    -- For question 1, please send me the URL for your webpage where I can observe your copy of the Applet working. I will assume that this URL will be used for all future homeworks where you need to put up stuff for viewing.
    -- For question 2, please send me a tar file containing two files: (a) DragEllipse.java, which contains your Java program and Makefile that documents your instructions for compiling and running this program. (b) Makefile, which should be contain a personalized version of THIS file.
    -- Hence if I type "make" in a directory containing both files, Makefile and DragEllipse.java, I should be able to comple and run your program.