Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
omri
Posts: 74
Registered: ‎07-17-2008
My Device: Not Specified
Accepted Solution

change background color of ObjectChoiceField

Hey everyone,

i have a situation where i made a manager, and overrided its paint for it to have a white background.

 on top of it i put an ObjectChoiseField.

and each time it gets and then looses focus, its background gets painted as black

how do i fix this?

 

Thanks in advance, Omri.

Please use plain text.
Developer
omri
Posts: 74
Registered: ‎07-17-2008
My Device: Not Specified

Re: change background color of ObjectChoiceField

I found the solution,

the solution is, paint the background by overriding paintBackground

 

and not paint() as i did.

 any comments?

Please use plain text.