Java Script Library and Applets

Hello,

Lets suppose I’ve got some java code in script library. And the code happens to be an applet. Now I would like to put this applet in to form (action similar to Create->Java Applet… but here I can take code only from resources and exterior file system).

Is there any way to run this applet in form without copying class files to exterior places (I mean diffirent then script library)?