I want to add javascript enable pane in my java webbrowser.
I have heard about Rhinno , v8 etc javaScript engine
but don’t know how to use it.
Is there any link for tutorial of their implementation of this as i m new in java.
Or could you please send me link for Downloading Of JWebPane.
Thank You
I want to add javascript enable pane in my java webbrowser. I have heard
Share
It sounds like you’re writing or modifying a web browser written in Java, that doesn’t have a JavaScript interpreter feature yet. If so, then Rhino is probably the easiest thing to use to add it.
There are lots of examples of how to use it on the Mozilla Rhino examples page. Rhino is pretty easy to invoke, as this example demonstrates:
So when setting up to execute JavaScript included in a web page, you’d add the various environment objects (
documentand such) to thescopeobject, and then useevaluateStringto evaluate it.This is going to be a significantly non-trivial task. If you’re still new to Java, I’d recommend starting with something smaller.