File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cellrender examples needed

 
shaon husain
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can someone post example of cellrender in jlist whereby, you can add item into list and image will show up according to whats been inputted,

thanks
 
shaon husain
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


thanks for your reply, but i cant seem to get it to work,
so here is my code:


all i want it to do is add an image to the key value,
 
Ranganathan Kaliyur Mannar
Bartender
Posts: 1101
10
Java Netbeans IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to provide more details. What happens when you run the program? Do you get any exception?
 
shaon husain
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ranganathan Kaliyur Mannar wrote:You need to provide more details. What happens when you run the program? Do you get any exception?


no images show up, not exception is thrown
 
Paul Clapham
Sheriff
Pie
Posts: 20209
26
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your program doesn't even compile -- it refers to a nonexistent "MyCellRenderer" class -- so you shouldn't even be able to run it.
 
shaon husain
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thread Question Solved: move post to a new topic
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic