APPLET: BasicELJ.java AUTHOR: ERIC BLUESTEIN Class: Contains all precompiled .class Java bytecodes. These can be packaged into a jar with the JAR command and are ready to execute. Src: Contains all Java source files, and the editlive JAR required to compile them DESCRIPTION: Add-in for EditLive for Java using the advanced Java API. This registers event listeners with the ELJBean object instantiated by the web browser. The listeners will catch events raised by toolbar clicks that correspond to requests to launch the new custom Insert Image and Insert Hyperlink dialogues. The HyperlinkDialgoue and ImageDialogue classes provide a framework for creating Swing-based applet dialogues. Each of these creates a tabbed Swing interface using the JPanel class. Each tab is an instance of a class that extends JPanel, each of these draws its own interface and registers listeners for its OK and CANCEL buttons. Each class maintains a pointer to its parent so that it can get back to the BasicELJ class to make calls to update and retrieve HTML from the ELJBean. HOW TO COMPILE: You must have the full Java Development Kit (1.4.2 or higher) installed. You must also add the X:\path\to\java\bin directory to your machine's PATH environment variable. Pull up a command prompt and CD to the directory with the Java source in it 1. Compile: javac -classpath ".;./editlive.jar;" *.java 2. Package as a JAR jar cvf BasicELJ.jar *.class 3. Create a self-signed SSL cert to sign the jar with keytool -selfcert -v -alias FSE -validity 7300 -keypass [PASSWORD] (provide a keystore password if asked) 4. Sign the JAR jarsigner BasicELJ.jar FSE 5. Copy BasicELJ.jar to the \_editlive\ folder on the web server(s)