Chris Greenhalgh 2005-03-01
For now this is easiest with a CVS build rather than webstart version...
- do a CVS build as per how_to_add_a_new_component.html
(ignoring the "adding a component" section for now)
- in processing, export the program to get an applet jar file
- run the install/runProcessingHandler.bat
script and select the exported jar file in the file chooser;
this will
generate a corresponding ect component (at present) in the directory
install/components/runtimeGenerated
- if you are using the individual scripts (in particular
runExportedGUI.bat) in the install director then the processing app
should appear in the capability list
- if you are using webstart, then copy the process app component
jar file from there to the webstart/download/java/components directory
and restart the installation master; it should copy the component while
should appear in the capability list(s) once it has restarted.
note:
- public/package fields in the processing applet become ECT
properties;
- if you have problems with types (only simple types can be
exported to ect), or too many unnecessary fields then make the ones you
don't need private;
- with versions of processing subsequent to 0070 the
synchronisation with
ect only occurs each time draw() is called (which may not be very often
if using the new-to-later-versions noLoop() option)