🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

JTable multiple interval cell selection

#10573
From: Ernesto Bascón Pantoja
Date: Thu, 26 Aug 1999 00:00
15 lines
935 bytes
Hi again :)

How can I select several cells in a JTable using
MULTIPLE_INTERVAL_SELECTION (i.e., with single clic, using SHIFT and/or
CONTROL).

I've added two ListSelectionListeners, one to rows and the other one to
columns;
I get the selected rows and the selected columns, but with this
information, I
cannot recover single selected cells.

Thanx in advance

Ernesto
Technical Details
Message-ID: <37C56D7E.EC881D05@estudiantes.ucbcba.edu.bo>
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,5b72780086c48580,start
X-Google-Attributes: gid111d45,public
From: Ernesto Bascón Pantoja  <bascone@estudiantes.ucbcba.edu.bo>
Subject: JTable multiple interval cell selection
Date: 1999/08/26
Message-ID: <37C56D7E.EC881D05@estudiantes.ucbcba.edu.bo>
X-Deja-AN: 517494477
Content-Transfer-Encoding: 7bit
Organization: UCB
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing