need sample code for forms in canvas

Haai folks

I m sure now that its impossible to create form components in to the canvas. SO pls send me the code for creating our own textfields.

Its very urgent folks since my head is under a hammer.

[220 byte] By [Pravin_axe.Chockya] at [2007-11-27 11:22:46]
# 1

I have written something.

but it is not a textField. it is such a a textBox. you can't have more than one on your screen and I think that is a very ugly code(as my others are).

if You want I can extract some useful codes from it for you.

for example a text wrapper to wrap text in a desired width.

a string tokenizer to extract the wrapped parts to draw.

and ...

etaa at 2007-7-29 14:56:46 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2

http://www.mediafire.com/?3s5t1osjg9t

this link contains some classes.

I have deleted some unneccessary variables. and changed some names but didn't recompiled them. there may be some errors. correct them yourself.

there is also one of my own componnents called ScrollableListSelection.

etaa at 2007-7-29 14:56:46 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 3

That link u gave me really helped . Thanks a lot

Pravin_axe.Chockya at 2007-7-29 14:56:46 > top of Java-index,Java Mobility Forums,Java ME Technologies...