This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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!