Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #2739
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.alt.net!news-in-01.newsfeed.easynews.com!easynews.com!easynews!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail |
|---|---|
| From | "Daniel Pitts" <daniel.pitts@THRWHITE.remove-dii-this> |
| Subject | Re: JTable Cell Editor mi |
| Message-ID | <2c6dnfUrJ8ta5K7anZ2dnUVZ_rOqnZ2d@wavecable.com> (permalink) |
| X-Comment-To | comp.lang.java.programmer |
| Newsgroups | comp.lang.java.gui |
| In-Reply-To | <fgvsbe$70p$1@news.nems.noaa.gov> |
| References | <fgvsbe$70p$1@news.nems.noaa.gov> |
| Content-Type | text/plain; charset=IBM437 |
| Content-Transfer-Encoding | 8bit |
| X-Gateway | time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] |
| Lines | 29 |
| Date | Wed, 27 Apr 2011 15:40:52 GMT |
| NNTP-Posting-Host | 96.60.20.240 |
| X-Complaints-To | news@tds.net |
| X-Trace | newsreading01.news.tds.net 1303918852 96.60.20.240 (Wed, 27 Apr 2011 10:40:52 CDT) |
| NNTP-Posting-Date | Wed, 27 Apr 2011 10:40:52 CDT |
| Organization | TDS.net |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.gui:2739 |
Show key headers only | View raw
To: comp.lang.java.programmer RC wrote: > I am just wonder why in JTable > > There are > TableCellEditor getCellEditor() > TableCellEditor getCellEditor(int row, int column) > > But there is only > > setCellEditor(TableCellEditor anEditor) > > Why JTable doesn't have > > setCellEditor(TableCellEditor anEditor, int row, int column) ? > > What happen if I want to set each cell in a different editors?! As I understand it, cell editors are free to return whatever component needed for whatever cell. You would specify the component for the row/column in the cellEditor, not specify the cell editor for that row/column. -- Daniel Pitts' Tech Blog: <http://virtualinfinity.net/wordpress/> --- * 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 | Next — Previous in thread | Find similar | Unroll thread
JTable Cell Editor missin "RC" <rc@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000 Re: JTable Cell Editor mi "Daniel Pitts" <daniel.pitts@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
csiph-web