The following is a simulation created by Ahmed Ali.
He sent me the EJS source and I re-generated it and post it here.

Register can generate ejs jar file and click "Upload new EJS jar file" check box, then,
You can select the jar file and post it with the message.
The generated applet will be added to the end of the message automatically.
Just like the following applet:

/htdocs/ntnujava/ejsuser/2/users/web/Energizer_pkg/Energizer.propertiesFull screen applet or Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
Download EJS jar file(11568.5kB):double click downloaded file to run it. (82 times by 16 users) , Download EJS source (5 times by 4 users) View EJS source