Move the position in JEditorPane

Posted by Joe on Stack Overflow See other posts from Stack Overflow or by Joe
Published on 2010-06-18T12:46:49Z Indexed on 2010/06/18 13:33 UTC
Read the original article Hit count: 201

Filed under:
|

Hi,

I've a JEditorPane inside a JDialog. I'm loading a web page when this JDialog is loading. This web page is larger then the JEditorPane size. So I want to display a certain position in the web page by default.

For example, I've a 175x200 size jdialog and JEditorPane. I want to display the web page sontent around 150 pixels down.

Is there any solutions for this? Or is there any other component which I can used to display web pages and can move to a certain position of the web page at loading time.

© Stack Overflow or respective owner

Related posts about java

Related posts about jeditorpane