• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

CellRendering in JList

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,

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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic