Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #2739
| From | "Daniel Pitts" <daniel.pitts@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: JTable Cell Editor mi |
| Message-ID | <2c6dnfUrJ8ta5K7anZ2dnUVZ_rOqnZ2d@wavecable.com> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <fgvsbe$70p$1@news.nems.noaa.gov> |
| Date | 2011-04-27 15:40 +0000 |
| Organization | TDS.net |
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