Hi,
I got a combobox (table direct) which shows items from current ad_client and system.
I would like to colorize items according to the ad_client_id (eg : red for 0, green when >0).
I've search a way in *lookup* classes but seems complicated ; any idea ?
on irc, a42niem suggested to have a look at org.compiere.swing.CComboBox.setBackground (Color bg)?
But it seems this is used for coloring the field and not his items.
To summarize : MLookupFactory produces a SQL which stores items in a ArrayList and this list is just shown into a combobox.
And I can't find a place where i could write something like "item.setColor(Color.RED);"
Any ideas ?
Thanks
Nicolas