I would like to know if it is possible to instanceate (create them with the "new" constructor) java objects (like drawables,containers) in the custom code pages of ejs, or at least can i import in Ejs classes that do so? e.g. create a class "charge" that extends the Drawable object, import it in a Ejs-created Model-View-Control app and  by pressing one of the View's buttons to add a "charge" in the View's DrawingFrame. More details-> Book->Open Source Physics, chapter 10, Electrodynamics (Gould et al.)