This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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