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..
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
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.
Programmer