About running the server...

The server has to run on a host which is also running a web server. This is because that's the only way that clients can make a connection with the server without violating the security constraint of Java. Now the server is running inside the firewall of Computer Science at Cornell, so people can't use WebPainter outside this firewall. the command line to run the server is :
% java drawserver port-number
If the program is moved to some other hosts. Several changes has to be made :
1. Recmopile the source code for the new architecture if different.
2. Change invariant.host in drawclient.java to the new host.
3. Change the invariant.portnum in drawclient.java to the new port number.
4. Make sure there is a web server on the host.
5. Modify the web pages if necessary.

About the code...

There are mainly two parts of the code :
Client
Server