Article View: borland.public.jbuilder.java.language
Article #7230Re: How do you re-render a JTable?
From: swett
Date: Wed, 04 Jul 2001 11:49
Date: Wed, 04 Jul 2001 11:49
30 lines
1965 bytes
1965 bytes
I am disabling editing by using the following: ScheduleTable.setEnabled(false); If there is a better way to make it so users can't edit cell contents, but to still make a row selection highlighted, I'd be very interested in knowing how. Thanks. "John McGrath [TeamB]" <ng-b@JPMcGrath.net> wrote in message news:MPG.15ac0d55241a141898a325@forums.borland.com... > On Tue, 3 Jul 2001 16:13:18 -0400, swett@starband.com wrote: > > > My table is set to disallow editing because the application is > > a "lookup only" application. I don't want users typing any > > replacement values into any cells. When editing is disabled, > > though, nothing gets automatically colored as the user clicks > > a cell. So I'm trying to color a row when a user clicks it. > > How do you disable editing? Row selection should work by default? > > -- > Regards, > > John McGrath [TeamB] > > --------------------------------------------------- > Before sending me e-mail, please read: > http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<3b430341_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!sn-xit-03!supernews.com!cyclone2.usenetserver.com!howland.erols.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsReferences:
<3b4227b7_1@dnews> <MPG.15ac0d55241a141898a325@forums.borland.com>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:01:45 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> Subject: Re: How do you re-render a JTable? Date: Wed, 4 Jul 2001 07:49:48 -0400 Lines: 32 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: <3b430341_1@dnews> X-Trace: dnews 994247489 148.71.34.6 (4 Jul 2001 04:51:29 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!sn-xit-03!supernews.com!cyclone2.usenetserver.com!howland.erols.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews