getting problem while setting hint to textfield in lcdui?
Hi,
I am not able to find out any properties or methods to set hint for textfield in
lcdui (j2me) ? In lwuit we are having setHint() method but in same way i have to do with
lcdui.Plz let me know if anyone have an idea about this ?
Thanks in advance !
Re: getting problem while setting hint to textfield in lcdui?
Hi mamatha reddy,
U have setInitialInputMode method for lcdui textfield. [URL="http://java.sun.com/javame/reference/apis/jsr118/javax/microedition/lcdui/TextField.html"]http://java.sun.com/javame/reference/apis/jsr118/javax/microedition/lcdui/TextField.html[/URL]
hope this helps.
Re: getting problem while setting hint to textfield in lcdui?
Practically this API set (lcdui) predates the concept of visual hinting, and this feature has not been added even in the most recent release (MIDP 3.0, 2009). You can consider implementing a CustomItem, just that is a larger task.