• Post Reply Bookmark Topic Watch Topic
  • New Topic

JPanel inside JTable  RSS feed

 
Mythily Jaganathan
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,
I have different JPanel's created dynamically during execution. These created JPanel's should be placed inside a JTable cell. I am not able to place the panel inside the table, in given row and column.

Please help me.
Thanks in advance
Mythily
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You would have to make a custom TableCellRenderer for that.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!