Hi there, I have a JEditorPane in a viewport using JScrollPane. When I add text to the JEditorPane, the knob on the scrollpane is at the bottom of the scrollbar ie the bottom of the JEditorPane. How can I set it to be at the top? Thanks, D
posted 14 years ago
Hi Dave, You could try and set the value for the vertical scrollbar.