• Post Reply Bookmark Topic Watch Topic
  • New Topic

Jlist with columns and picture.

 
Tyler Worman
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My problem is I cannot figure out to make a jlist (swing) that has 2 columns one holding a picture.
I've been lookign around and so far I can't even figure out how to add columns. From what I read It looks as if my Jlist needs to be a Jtable? Is that correct? or have I misread....
Any clue on how to add the picture to one column would be appreciated.
 
Avi Abrami
Ranch Hand
Posts: 1141
1
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tyler,
Perhaps these two Web pages will help you (assuming you haven't already looked at them)
http://developer.java.sun.com/developer/JDCTechTips/2002/tt1119.html#1
http://www2.gol.com/users/tame/swing/examples/JTableExamples8.html
Hope it helps.
Good Luck,
Avi.
 
Tyler Worman
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
perfect just what I was looking for thanks.
I had the first (found it last night after more searching) but not the second.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!