Article View: borland.public.jbuilder.java.language
Article #7231Found an answer
From: swett
Date: Wed, 04 Jul 2001 12:11
Date: Wed, 04 Jul 2001 12:11
9 lines
1224 bytes
1224 bytes
Instead of disabling the table, the following command prevents all cell
editing from occurring:
jTable1.setDefaultEditor(Object.class,null);
This still highlights the row when it is clicked, but doesn't allow editing.
That's just what I wanted.
Thanks for bumping me in the right direction.
Technical Details
Message-ID:
<3b430868_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!netnews.com!xfer02.netnews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsReferences:
<3b4227b7_1@dnews> <MPG.15ac0d55241a141898a325@forums.borland.com> <3b430341_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,9df0a17266721318 X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-07-04 05:15:55 PST Reply-To: <swett@bcswebsite.com> From: <swett@starband.com> Newsgroups: borland.public.jbuilder.java.language References: <3b4227b7_1@dnews> <MPG.15ac0d55241a141898a325@forums.borland.com> <3b430341_1@dnews> Subject: Found an answer Date: Wed, 4 Jul 2001 08:11:46 -0400 Lines: 11 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 148.71.34.6 Message-ID: <3b430868_2@dnews> X-Trace: dnews 994248808 148.71.34.6 (4 Jul 2001 05:13:28 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!netnews.com!xfer02.netnews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews