Help!!!! JEditorPane and javascript
i am using JEditorPane in my project to display web pages. But JEditorPane does not support javascript, Applet, Shockwave animations.
Is there any way to Support all these things in JEditorPane by extra coding or Using open source code like Mozila's
Rhino ( javascript interpreter ).
Thanks in advance
[328 byte] By [
Revaa] at [2007-11-26 22:50:10]

> i am using JEditorPane in my project to display web
> pages. But JEditorPane does not support javascript,
> Applet, Shockwave animations.
> Is there any way to Support all these things in
> JEditorPane by extra coding
Sure, but it won't be a trivial task, just like creating your own web browser.
> or Using open source code like Mozila's
> Rhino ( javascript interpreter ).
>
> Thanks in advance
Java 1.6 has Mozila's JavaScript engine built-in:
http://java.sun.com/javase/6/docs/technotes/guides/scripting/programmer_guide/index.html
You may also want to read these:
http://forum.java.sun.com/thread.jspa?threadID=593120&messageID=3108523
http://www.jguru.com/faq/view.jsp?EID=25662