Hi everyone..
can someone help to me..how can Build Custom GUI to insert text in particular space..(in tables)
please send solution as possible as you can..
Printable View
Hi everyone..
can someone help to me..how can Build Custom GUI to insert text in particular space..(in tables)
please send solution as possible as you can..
Hi,
If you realy want to make your own input box then it is very simple, you just need to follow the concepts of j2me Canvas.
1. Create a InputBox class.
2. Draw a rectangle onto it for appropriate text size whatever you want.
3. Start writing the text from the left hand corner whatever you press from the key.
4. if you want to enter ABC... then you will have to assign keys like on press of 2 it should type either of A/B/C/2 fix a timer which can run for each key press event and when it is more than 2 second then it should let you type another character.
5. you will have to refresh your screen after each key press event.
6. make sure you are using correct logic for typing and clearing the text.