Click to See Complete Forum and Search --> : scrollPane
August 16th, 1999, 03:21 AM
I'm trying to get a scroll bar to always stay at the bottom of the screen. I have a window that has text constantly being put out to it. I want to be able to see the most current info. Does anyone know the setting to change to make this so?
Mike
Darius@aracnet.com
Khushhal
August 16th, 1999, 05:29 PM
if u get solution please let me also know I am also in same problem
unicman
August 17th, 1999, 08:59 AM
As far as I know whenever size of the viewport in JScrollPane will change, the maximum value of vertical scroll bar will also get modified.
Now add change listener to JViewport and in the event handle
unicman
August 17th, 1999, 09:06 AM
Sorry the post got truncated.
As far as I know whenever size of the viewport in JScrollPane will change, the maximum value of vertical scroll bar will also get
modified.
Now add change listener to JViewport and in the event handler u just retrieve the verticle scrollbar and set its value to maximum value.
- UnicMan
http://members.tripod.com/unicman
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.