Can we color items in a listbox.For example if there are two array of strings and i am displaying them in a listbox(JList). i need first array of strings in black and second array of strings in red color.Can we do that in java?
We cannot directly do the same thing in VB with ListBox. for that we have to use ListView for coloring elements.
So is there any component in java like vb has? Is it feasible?