Article View: borland.public.jbuilder.java.swing
Article #11161JTable and cell navigation
From: Randy Strobel
Date: Fri, 02 Jul 1999 00:00
Date: Fri, 02 Jul 1999 00:00
9 lines
1018 bytes
1018 bytes
Is there anyway to determine when the selected cell changes or navigates in a JTable? For example, in the table I'm working on, some cells should not be edited because the values do not apply with the current row. I want to add functionality such that when the user clicks in or otherwise navigates (via "ENTER" or "TAB") to that cell, the system will automatically move to the next available cell instead. Is there anyway to do this....easily? Thanks for any help out there.
Technical Details
Message-ID:
<377D0046.36B473E8@siscom.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,58ab8e95f09423a6,start X-Google-Attributes: gid111d45,public From: Randy Strobel <krstrob@siscom.net> Subject: JTable and cell navigation Date: 1999/07/02 Message-ID: <377D0046.36B473E8@siscom.net> X-Deja-AN: 496504379 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: PMI Food Equipment Group Mime-Version: 1.0 Reply-To: strobrj@pmifeg.com Newsgroups: borland.public.jbuilder.java.swing