If you are using Pivot 2.0, you may also find these examples helpful: http://svn.apache.org/repos/asf/pivot/trunk/examples/src/org/apache/pivot/examples/scripting/
The JavaScript (i.e. Rhino) and Groovy examples are most easily launched via the Eclipse launcher plugin, available here: http://cwiki.apache.org/confluence/download/attachments/108483/org.apache.pivot.eclipse_2.0.0.jar Just right-click on groovy_window.bxml or javascript_window.bxml and select Run As > Pivot Script Application. G
