Here's a demo: AppletExample.zip
The project includes both the applet code and the model using it.
Note the following:
You are of-course welcome to inquire further if anything comes up.
Apologies for the late response.
For best results, use the Firefox browser..