• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to display an icon along with a string in one cell of JTable

 
Sridhar Garimella
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I'm not able to display an icon along with a string in one cell of JTable.
Any help(If possible some example code snippet) would be appreciated on this.

Thank you,
Sridhar.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
do a search on "extends DefaultTableCellRenderer" + "setIcon"
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!