| Author |
JScrollPane problem
|
Stephen ODonnell
Greenhorn
Joined: Sep 07, 2004
Posts: 19
|
|
Hi All, I'm trying to set the scrollbar to the top as it is always at the bottom. Nothin I try seems to work!! I have a JFrame with a container: I then add my panels createJScrollPane() returns a JScrollPane containing an outer JPanel inside which there are a number of other panels I cannot figure out why any of the methods I have tried will not work Any help greatly appreciated. Thanks, Stephen.
|
 |
Michael Dunn
Ranch Hand
Joined: Jun 09, 2003
Posts: 4632
|
posted

0
|
|
can you post createJScrollPane()
|
 |
Stephen ODonnell
Greenhorn
Joined: Sep 07, 2004
Posts: 19
|
|
Hi, Here it is:
|
 |
Stephen ODonnell
Greenhorn
Joined: Sep 07, 2004
Posts: 19
|
|
Hi Michael, Thanks for your help, the problem was a silly one. I was setting the frame visible before I added the JScrollPane :roll: Thanks again. Stephen.
|
 |
 |
|
|
subject: JScrollPane problem
|
|
|