The applet below, which can also run as an application, works 
                with the application SimServer, 
                which must be started separately as an application. See the previous 
                page : Client for Experiment Simulation 
                for a discussion of the applet's code.
             
            
              Note that this applet will generate 
                a security exception when it attempts to open a socket 
                to the SimServer unless the machine 
                from which it is downloaded happens to be running the server. 
                (Also, the host address would need to be changed to the address 
                of the host from which the applet was downloaded.) 
              For your own experimentation, you should download the files for 
                both the client and server to your machine. Then compile and run 
                them locally. You can use the host address 127.0.0.1 
                to point to the local server.