wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Ok, here it is with the Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Ok, here it is with the "CellEditor" again" Watch "Ok, here it is with the "CellEditor" again" New topic
Author

Ok, here it is with the "CellEditor" again

Ben Zung
Ranch Hand

Joined: Mar 25, 2004
Posts: 109
Sorry I have to repost this as a new topic. And I have put up a working example here. please copy and paste and then let me know where you find the
table cellEditor gets lost.
Thanks a lot.
Please click on "check table cell editor" after the frame shows up.


puzzled, lost Bing
Ben Zung
Ranch Hand

Joined: Mar 25, 2004
Posts: 109
(Big sigh)
Ok, just in case anyone else would wondering the same thing, here is the
answer to my posted question:
The getCellEditor in JTable returns the cellEditor only when there is data
in the table and the cellEditor is being edited -- ie, getting the focus by
double click on the cell.


bing
 
 
subject: Ok, here it is with the "CellEditor" again