/*
 *
 *  JavaLCP, version 1.0
 *    A Java interface for remote communication with a Lyris Server via
 *    the Lyris Command Protocol.
 *    Written by Kipton Barros.
 * 
 *  All or part of the following source code is written by
 *  Joshua D. Baer and SKYLIST.net <http://www.SKYLIST.net/>.
 *  
 *  This notice must accompany any reproduction or derivation of this source 
 *  code.  While the source code may be modified, this notice must not be
 *  modified in any way.
 *  
 *  Copyright 1999 Lyris Technologies Inc
 *
 */

This is a demonstration of LyrisComm using the Java Swing library.  It is
necessary to have Swing installed on your system to run this demo.

This demo builds a dynamic graphical tree using the Swing GUI.  You must supply
the address of a Lyris server you have access to, and this demo will build a
tree with site, topic, and list branches.  If your Lyris server uses a
nonstandard configuration, it is easy to change the constants in the file
DynamicTreeDemo.java.

To compile and run on UNIX (using pre jdk1.2):
 - Locate your root Java directory, and set the environment variable $JAVA_HOME
   to be it's path.  For example, if your Java directory is "/usr/local/jdk117",
   type the following command:
        setenv JAVA_HOME /usr/local/jdk117
 - Locate your root Swing directory, and set the environment variable
   $SWING_HOME to be it's path.
 - Compile the java files with the following command:
        javac -classpath .:../../:$SWING_HOME/swing.jar:$JAVA_HOME/lib/classes.zip DynamicTreeDemo.java
 - Execute the App with the following command:
	java -classpath .:../..:$SWING_HOME/swing.jar:$JAVA_HOME/lib/classes.zip DynamicTreeDemo

To compile and run on Windows:
 - It is recommended you use Sun's JDK1.2.  If you are using something else,
   these directions may not work.
 - Compile the java files with the following command:
        javac -classpath .;..\.. DynamicTreeDemo.java
 - Execute the App with the following command:
        java -classpath .;..\.. DynamicTreeDemo.java
