oh my god, it is clear. I just want to keep scroll bar at the top of a JScrollPane which contains a JEditorPane after displaying my text in it. I don't want the user have to scroll up, after opening...
Type: Posts; User: nasi
oh my god, it is clear. I just want to keep scroll bar at the top of a JScrollPane which contains a JEditorPane after displaying my text in it. I don't want the user have to scroll up, after opening...
but it doesn't work as well. I upload a text file in jeditorpane but after uploading the scroll bar goes to the bottom of the page I want it to stay at the top.
thanks but none of them solved my problem. I didn't get how I should work with SSCCE
how to force a scroll to stay at the top of the pane?