• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ok, here it is with the "CellEditor" again

 
Ben Zung
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
(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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic