I don't believe any of the RIM APIs allow you to change the colors. I have been able to achieve this by creating a custom label.
Basically you create a class and extend the Field class. You then override the paint and setExtent methods. So basically you can control the color through the paint method. There is a real good section in the BlackBerry Developers Guide Volume 1 on custom fields.
This will make your app BlackBerry only since I believe the Field class falls outside of the J2ME APIs.
|