• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding images in JTable

 
Mousa A. Rafi
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I show images (gif / jpg) in a JTable fields. I tried with ImageIcon type arrays, but don't work. For example I want to make a JTable that contains person's name and an image of him beside the name field. How can it be done? Code example would be helpful.
 
Craig Wood
Ranch Hand
Pie
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic