|
-
August 16th, 1999, 03:21 AM
#1
scrollPane
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
[email protected]
-
August 16th, 1999, 05:29 PM
#2
Re: scrollPane
if u get solution please let me also know I am also in same problem
-
August 17th, 1999, 08:59 AM
#3
Re: scrollPane
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
-
August 17th, 1999, 09:06 AM
#4
Re: scrollPane
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|