Hi friends, I am using JEditorPane for displaying HTML page. HTML page alone being displayed . But its not getting fitted correctly in the editorpane. So how come I can fit the HTML to the editor pane, so I can have scrolling to see the complete page ?
Shivaji Bhosale
Ranch Hand
Joined: Mar 12, 2001
Posts: 70
posted
0
Hi friends, I was successful to display HTML, its just i needed to add my componeent to the constructor of scroll pane. But the real pain doesnt stop. Now I am asked to support JavaScript to my browser control, written in Java Swing. How it can be done ? Any ideas to start with ?
I know Mozilla provides a package called Rhino that allows you to embed JavaScript into Java... I haven't used it alot myself, so you'll have to rely on the docs provided at their site on how to make it do what you want...
-Nate
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.