My JScrollPane scrollbar defaults to the bottom not top
843804Dec 13 2004 — edited Dec 13 2004Hi,
I have a slight problem with a JScrollPane in that it appears to default the scrollbar to the bottom when the scrollbar is visible. I basically have a panel on a JFrame containing a JTextArea within a JScrollPane.
Does anyone know how I can make it default to the top ? I think I found a method that works on JScrollBar but can't seem to find one for JScrollPane.
Thanks,
Andy