🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

JTable on key press jump to item alphabetically

#1032
From: Sam Seaborn
Date: Tue, 13 Apr 2004 21:09
12 lines
1319 bytes
Hi,

I have a JTable that lists a bunch of users.  Is there a way to have the
JTable selection jump to an item alphabetically based on a key press?

That is, if I open the Windows file explorer to c:/windows and press 'G', it
selects "Gone Fishing.bmp" because it's the first file that starts with G.

Is there a simple way to get JTable to do this?  Any help is greatly
appreciated,

Sam
Technical Details
Message-ID: <407c55a4$2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,2ef24a82608cc8dd,start
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2004-04-13 14:10:04 PST
Reply-To: "Sam Seaborn" <sam@rightclick.ca>
From: "Sam Seaborn" <sam@rightclick.ca>
Newsgroups: borland.public.jbuilder.java.swing
Subject: JTable on key press jump to item alphabetically
Date: Tue, 13 Apr 2004 17:09:07 -0400
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 207.35.237.35
Message-ID: <407c55a4$2@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1081890212 207.35.237.35 (13 Apr 2004 14:03:32 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail