Hi, As page go down and up, I want to scrollup and down according to the size of the page??? would you please send me simple example? Thanks, Angela
anu mani
Greenhorn
Joined: Feb 27, 2001
Posts: 6
posted
0
There is are two static int variables for the JScrollPane which can help you. These variables will be seen as and when the length of the original document increases. 1. public static final int VERTICAL_SCROLLBAR_AS_NEEDED 2. public static final int HORIZONTAL_SCROLLBAR_AS_NEEDED Thanks,
Angela Jessi
Ranch Hand
Joined: Nov 27, 2000
Posts: 428
posted
0
I want to use AWT only,,, Thanks, Angela
Ali Hassaan
Ranch Hand
Joined: May 16, 2001
Posts: 103
posted
0
ScrollPane scroll; scroll=new ScrollPane(scroll.SCROLLBAR_AS_NEEDED); and then add this scrollpane in ur form...