posted 20 years ago
I am using a scrollpane into which i am setting a textpane which has HTML content displayed inside it.This is done by setting a "HTMLDocument" in the TestPane
This scrollpane is a part of a splitpane.The scrollpane is on the right half of thesplit pane.The left pane of the split pane contains a panel with labels set inside it.The functionality is such that when i click on the label on the left pane the corresponding HTML loads in the right pane.
The problem is that if in the scrollpane i scroll over to the middle and then i click on a new link in the left pane , e new HTML loads but its scrollbar scrolls automatically towards the position as was with the previous screen.
Any ideas as to why this is happening
Thanks in advance
Pankaj