can anyone help me..
how am i supposed to design a custom textfield ...???
i never did sth like this ..???
plus can i append it to a form..???
thanx in advance
can anyone help me..
how am i supposed to design a custom textfield ...???
i never did sth like this ..???
plus can i append it to a form..???
thanx in advance
There are open source libraries you can look into like Synclast and J2ME Polish. And if you want to append your custom textfield to a form you'll need to implement it as a CustomItem (only available in MIDP 2.0).
shmoove
how am i supposed to design a custom textfield ...???
In MIDP 2.0, you must extend the javax.microedition.lcdui.CustomItem class and implement its five abstract methods, at least. Check the tips below:
Using Custom Items in MIDP 2.0
http://developers.sun.com/techtopics...ps/customitem/
plus can i append it to a form..???
Yes, you can.
Hope it helps!
BR,
Juarez Junior
really thanx ..but am quit lost in it .... am not understanding how ami supposed to make it as an input control ..????Originally Posted by juarezjunior
i don't wanna use the normal textfield cause it forses the device to open an editer ... but i don't wanna open an editor so i thought i should build my own custom textbox ..???
i trully need some help or at lease a sample .. to get an idea how it is supposed to be done ..??
Hi dakoz,
You should read the article and understand what must be done...you'll need to do it all yourself (painting, traversal, etc).
Another good article:
Custom GUI development with MIDP 2.0
http://www.ibm.com/developerworks/wi.../wi-developui/
BR,
Juarez Junior
am not getting the idea of how to add a key press detector ..
am lost ..
please people .. help ...
i need to build a custom textbox .. that retrive the characters written directly without switching to the default edit mode ..????
help
it seems its sth that depends on the mobile it self .... i can do nothing about it ..
every model actes in a deffrent way ....
am not happy about it ...![]()