Hi everone,
I try to change the background color of an ObjectChoiceField.
Code:
list2 = new ObjectChoiceField("" , typeCuisine , 0)
{
protected void paint( Graphics graphics )
{
graphics.clear();
int color = graphics.getColor();
graphics.setColor( 0x99caf3 );
graphics.fillRect( 0, 0, Display.getWidth(), Display.getHeight() );
graphics.setColor( color );
}
};
So the result is that the background color change but the text isn't displayed.
The choice works because when I clic the list appears.
What's wrong??