• Post Reply Bookmark Topic Watch Topic
  • New Topic

Add a Component to JTable  RSS feed

 
Masi Man
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need HELP !! I Should insert a Component (IN this Case a JTextField) into a Column of a JTable. I hope someone can give me a littel Help.
 
Ashish Mahajan
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Masi,
JTextField is a default editor of JTable. And if am not wrong, then it is turned on by default. Just check this latter point by double clicking the table cell. By doing this the cell should become editable.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!