🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Navigating JTable Using PgUp/Dn keys

#11254
From: Garth Braithwaite
Date: Tue, 22 Jun 1999 00:00
14 lines
929 bytes
Is there an easy way to get the current cell/row
selector to move when the user presses either
the pgup or pgdn keys???

For example:  If you have 100 rows of data, 20
are visible and you're on row 1 then press the PgDn
key, your view will move to row 21 but row #1 is still
the current, selected row.  It would be very nice to
have it adjust itself to be row 21.

Is this easy???  Can anyone point me to a good
swing book/reference???

Thanks.  Garth.
Technical Details
Message-ID: <7kontj$8fs2@forums.borland.com>
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,7b04ec161c8f94c2,start
X-Google-Attributes: gid111d45,public
From: "Garth Braithwaite" <braithwaite@battelle.org>
Subject: Navigating JTable Using PgUp/Dn keys
Date: 1999/06/22
Message-ID: <7kontj$8fs2@forums.borland.com>
X-Deja-AN: 492633287
Organization: Battelle - Ogden Operations
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: borland.public.jbuilder.java.swing