Article View: borland.public.jbuilder.java.swing
Article #7941Re: selected cell changed event in JTable.
From: John McGrath TeamB
Date: Thu, 30 Nov 2000 00:00
Date: Thu, 30 Nov 2000 00:00
21 lines
1264 bytes
1264 bytes
On Tue, 28 Nov 2000 12:54:44 -0500, Zachary Cooper wrote:
> I want to do a selectall when a cell is entered in a JTable.
> A focusGained event registers when I mouse click in a
> cell, but if I change cells using a key press, the key press
> events register, but no change of focus that I can detect.
> Whay component should I be listening to?
Could you explain in a little bit more detail what you are doing? What
listeners do you add to what components? It sounds like you must be
adding a listener to a TableCellEditor, but it is hard to tell since
you do not even mention a TableCellEditor.
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<MPG.148fe1e4b7c739e0989d75@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3a23f08b$1_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,e823ad1504a5034 X-Google-Attributes: gid111d45,public From: John McGrath [TeamB] <ng-b@JPMcGrath.net> Subject: Re: selected cell changed event in JTable. Date: 2000/11/30 Message-ID: <MPG.148fe1e4b7c739e0989d75@forums.borland.com> X-Deja-AN: 699487791 References: <3a23f08b$1_1@dnews> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing