Examples/readme.txt
===================

javaaccess
----------
The javaaccess directory demonstrate how Java routines can
be called from a FESI EcmaScript program:

properties.es   Simple example listing the system properties,
                using a Java enumerator in an EcmaScript
                "for in" statement.
calendar.es     Demonstrate how a simple test environment can
                be created to interactively test a Java
                package.
showfonts.esw   Demonstrate how to call the AWT and build
                a closeable frame.
selectfont.esw  Demonstrate how to process events.
swingev.esw     Demonstrate the use of Swing with event handling.


beans
-----
The beans directory demonstrate how bean can be loaded and
their event processed:

juggler.esw     Demomstrate the juggler and other beans used
                as buttons to start and stop juggling
                EDIT TO SET THE PROPER DIRECTORY. Requires
                the BDK example.
molecule.esw    Demonstrate the molecule bean (drag the image!).
simplegraph.esw Demonstrate how to load an applet as a bean.
ticktock.es	Uses a bean with a timer and a property change
		listener. Modify the bean property using 
		bean fields.
			    
Some files demonstrate how java beans can be loaded
without even being in the classpath of the interpreter (the 
same capability exists for classes):

All beans are from the BDK or the JDK 1.1 demonstration directory.


jslib
-----
The jslib directory demonstrate how a main program can
call the FESI EcmaScript interpreter and extend it.

SimpleIntrp.java A simple read-eval-print interpreter,
                interpreting EcmaScript commands line by
                line.

JavaMain.java   A simple program to create an interpreter,
                add an error handling function, execute
                a small script which call backs the program.

FesiPop.java    An extension using the ORO NetComponents to
FesiPop.es      provide access to a POP3 mail server from
                EcmaScript.
     
fesiFTP
-------

FesiFTP		A subdirectory containing an FTP client with
		EcmaScript macro capability.


xml
---
Xparse.js	xml parser in EcmaScript
xml4j.es	Use the IBM xml4j parser and DOM, print an indented view
 		of the elements. You may have to change the path of that library.
		See http://www.alphaworks.ibm.com to access the xml4j package.


Xparse.js is an example of an xml simpler parser with a sample xml text,
curtesy of Jeremie - http://www.jeremie.com.
You can use:
	parsed = Xparse(File("test.xml").readAll())
to test it (from the proper directory).






             