Questions answered by this recipe
How to embed a processing applet (http://www.processing.org) in PmWiki page
All sections are optional, you can remove those that do not apply to your recipe, and add new ones.
I used to display my processing applets with the Applet Cookbook but thing went wrong on recent macos X since new java version 1.6. This cookbook provide a markup to embed processing applet in PmWiki page. It is processing specifique: not java generic but more simple than Applet.
Then, in your config.php:
Put your applet files into a subdirectory in the pub/applets directory.
(:processing codebase="" code="" archive="" width="" height="":)
- codebase : the name of subdirectory where are located applet files.
- code : Entry point class.
- archive : The applet jar archive name.
- width & height : dimensions in pixel of the applet
You have to create the default folder pub/applets as default location for your applets. It 's the same location used in Applet cookbook as convenience. The variable $ProcessingRootCodebase can be used in your config.php to change this default location.
CREDITS: It is originally based on how Processing v1.51 make his own index.html and on Applet source code.
Change log / Release notes
If the recipe has multiple releases, then release notes can be placed here. Note that it's often easier for people to work with "release dates" instead of "version numbers".
20150815 : Use of markup_e() function -> php 5.5 compatible 2011-10-11 : Initial public release