🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #9108

JScrollPane

#9108
From: Vu Nguyen
Date: Thu, 25 May 2000 00:00
10 lines
1174 bytes
Hi,
I have a JTable inside a JScrollPane. I also have a button called "END".
I want to do this:
whenever I click this button the last row of the table will be selected
and the scroll bar will scroll down at the bottom of the table.
Right now, I can do the selection but there's still no way for me to
control the scroll bar to make it scrolls down to the bottom of the
table to make the selected row visible...
Please help!!!
-Thanks.
Technical Details
Message-ID: <1878410C303D4E0B.B186783C93ACEA98.A28621D9BE94A544@lp.airnews.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,56efd0a36e82b1a7,start
X-Google-Attributes: gid111d45,public
From: Vu Nguyen <vu972@hotmail.com>
Subject: JScrollPane
Date: 2000/05/25
Message-ID: <1878410C303D4E0B.B186783C93ACEA98.A28621D9BE94A544@lp.airnews.net>
X-Deja-AN: 627181907
Content-Transfer-Encoding: 7bit
X-Orig-Message-ID: <392D3B6A.4F0CDF8F@hotmail.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
NNTP-Posting-Time: Thu May 25 09:43:13 2000
Organization: Airnews.net! at Internet America
NNTP-Proxy-Relay: library2.airnews.net
Mime-Version: 1.0
Abuse-Reports-To: abuse at airmail.net to report improper postings
Newsgroups: borland.public.jbuilder.java.swing