Blinking cursor in Canvas TextField

Hai folks

I have used a Canvas class which contains the Textfields. This Canvas class contain another class which extends TimerTask to make the cursor blink. Now when i run the project , the textfields display only for few seconds and disappear .After that the cursor starts blinking .

Can any one come up wit a solution to make both the cursor and textfields gets displayed at same time

[407 byte] By [Pravin_axe.Chockya] at [2007-11-27 11:48:30]
# 1

you could just use synclast UI library.

http://sourceforge.net/projects/synclast

i know the project looks dead, but its not, just have to download the source (there hasn't been a release for a long time)

synclast is a canvas based ui toolkit,so you get textfields with blinking cursors, buttons, background colors, background images, menus, etc etc etc. and its all on a canvas :)

I use it for all of my j2me applications.

pandora_fooa at 2007-7-29 18:19:38 > top of Java-index,Java Mobility Forums,Java ME Technologies...