This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Flex and the fly likes How do i insert colors in a List Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "How do i insert colors in a List" Watch "How do i insert colors in a List" New topic
Author

How do i insert colors in a List

Anil Verghese
Ranch Hand

Joined: Oct 11, 2006
Posts: 155
Hi,

How Do I insert colors in a list? Is it possible to do that.

Thanks
Anil
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

You need to set your collection of colours as data provider for the list.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Anil Verghese
Ranch Hand

Joined: Oct 11, 2006
Posts: 155
Can I get the code, I tried but while executing no colors are displayed in the list instead it shows [object Object]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How do i insert colors in a List
 
Similar Threads
Highlighting Multiple values in a Multi-Select dropdown using Struts2
Terminal colors
ListCellRenderer!!!Help!!
Multi-colored List
Insert after submit form