Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CellRendering in JList

Gokula krishnan
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

i want to design my list item with background image,font faces and sizes when it selected by using Html tags.

for example,

// Contacts(userName, userIcon);
new Contacts("<html> <table width= '75%' height='57' border='1'><tr> <td align='center' background='resources/id.gif'><img src='resources/id.gif' width='22' height='20'>Username", resources/id.gif")

i got partially.. i couldn't set the images in that.. instaed of images, it shows image broken link. but the same image, i can assign for the userIcon.

and another one, how i implement this, when item selected.

if anyone know this, pls tell me
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic