[JDK1.6.0_01-b06] JeditorPane scrollToReference don't works fully
Hi all,
I encounter a problem on class javax.swing.JEditorPane, with the non static function scrollToReference( String reference ).
I had a HTML page like below:
<html><head>HEAD_DEF</head><body>
<a href="top"></a>
BODY_DEF
<a href="bottom"></a>
</body></html>
The page is displayed with a vertical scrollbar.
While scrollbar is bottom of page and I call scrollToReference("top"), the scrollbar is going up correctly and I can read top of page.
But while scrollbar is top of page and I call scrollToReference("bottom"), it doesn't move and I can't see the bottom of page.
I looked up on the internet and see this problem exist for some time in the JDK, can anything be done for that ?
Thank you,
Guillaume

