Skip to main content

How to set colour to form?

3 replies [Last post]
nerj
Offline
Joined: 2009-01-07

Hi!
Can u please tell me---------
How to set colors(Foreground, Background, Foreground selection, and Background selection) to a LCDUI form.
Pls, help me---------

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
nerj
Offline
Joined: 2009-01-07

Any one----

nerj
Offline
Joined: 2009-01-07

pls, suggest me----------
Atlease, pls tell me how to customize the color for LCDUI Table item

sfitzjava
Offline
Joined: 2003-06-15

Colors for Form and standard LCDUI components are set by the manufacturer because they are such control freaks. Not to mention their implementation of the LCDUI standard components are not consistent and ill behaved I would avoid them at all cost.

However now you mention a LCDUI Table Item, where are you getting that from?! There is no such component in the MIDP2.0 spec. Could it be that you are using NB components?
http://forums.sun.com/thread.jspa?threadID=5350430
If so then there should be ways to set colors on those custom components. If nothing else get the source and change it. Usually something along the lines of "setColor()" might be what to look for in the JavaDocs. Since you are most likely using a click-n-point tool, then I'm sure you are familiar with the property sheet or component inspector. So you might look there for there color properties.

-Shawn