Does anyone know if it is possible to set programmaticall y the position of a JScrollPane vertical scrollbar slider?
I load a some components like textfield editorpane labels etc
into a panel wrapped in a JScrollPane.
The vertical slider follows the length of the components but I want on load the beginning of the panel to be visible and not the end.
ie the slider is always at the bottom or in the middle not in the begining
I mean, I don't want to force the user to use the slider right
away to go up to the beginning of the panel.
Is there a way to do this?
Thanks,
I load a some components like textfield editorpane labels etc
into a panel wrapped in a JScrollPane.
The vertical slider follows the length of the components but I want on load the beginning of the panel to be visible and not the end.
ie the slider is always at the bottom or in the middle not in the begining
I mean, I don't want to force the user to use the slider right
away to go up to the beginning of the panel.
Is there a way to do this?
Thanks,
Comment