Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #1679

Re: JXxxx.setEditable(boo

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!nx02.iad01.newshosting.com!newshosting.com!novia!news-out.readnews.com!news-xxxfer.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail
From "RC" <rc@THRWHITE.remove-dii-this>
Subject Re: JXxxx.setEditable(boo
Message-ID <46559816.1010708@nospam.noaa.gov> (permalink)
X-Comment-To Tom Hawtin
Newsgroups comp.lang.java.gui
In-Reply-To <4654b633$0$8744$ed2619ec@ptn-nntp-reader02.plus.net>
References <4654b633$0$8744$ed2619ec@ptn-nntp-reader02.plus.net>
Content-Type text/plain; charset=IBM437
Content-Transfer-Encoding 8bit
X-Gateway time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92]
Lines 16
Date Wed, 27 Apr 2011 15:34:43 GMT
NNTP-Posting-Host 96.60.20.240
X-Complaints-To news@tds.net
X-Trace newsreading01.news.tds.net 1303918483 96.60.20.240 (Wed, 27 Apr 2011 10:34:43 CDT)
NNTP-Posting-Date Wed, 27 Apr 2011 10:34:43 CDT
Organization TDS.net
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.gui:1679

Show key headers only | View raw


  To: Tom Hawtin
Tom Hawtin wrote:

> 
> JTextField has setEditable. It's inherited from JTextComponent.
> 
> For JTable, use a TableModel that always returns false from 
> isCellEditable. (Or extend JTable and override its isCellEditable.) For 
> tables, using TableModel is usually the way to go.

Thank Q very very much!

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

JXxxx.setEditable(boolean "RC" <rc@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000
  Re: JXxxx.setEditable(boo "Tom Hawtin" <tom.hawtin@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000
    Re: JXxxx.setEditable(boo "RC" <rc@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000

csiph-web