This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes textfield Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "textfield" Watch "textfield" New topic
Author

textfield

him jain
Ranch Hand

Joined: Feb 05, 2010
Posts: 56
i want to add a list to a textfield.
Is it possible?
Reply with possible solutions...


--Himanshu Jain
http://jainhim.blogspot.com/
lokesh jain
Ranch Hand

Joined: Feb 21, 2009
Posts: 58
Why don't you add list in a form, it will be easy and will reduce the processing time as well.

regards
Lokesh
him jain
Ranch Hand

Joined: Feb 05, 2010
Posts: 56
actually i have to maintain history of a particular entry.
So, when i enter in a textfield, it should show the previously entered results also.
I have used recordstore for it.
I am able to retrieve the data but i am not able to show it in mobile.
That's why i was asking?
Hope to get a reply soon..
Gopinath Karyadath
Ranch Hand

Joined: Oct 14, 2009
Posts: 87
Hi

I have already explained how to use Recordstore class in j2ME application.
I assume that , Now you know how to handle records . then why you posted this question ???

[ b]Please think by yourself how to !!! , otherwise your brain will remain IDLE !!![/b]

Regards
gopi@c2info.com

him jain
Ranch Hand

Joined: Feb 05, 2010
Posts: 56
My question is just : "can we add a list to a textfield?"
I am not asking about recordstore.
I have searched but i was not able to get any such method.
So, that's why i was asking if it's possible or not?
Gopinath Karyadath
Ranch Hand

Joined: Oct 14, 2009
Posts: 87
Hi

List & text field are different classes ..
first make list then , invoke this list while pressing in text field .
after selecting from list add get selected item into text field.

text field string = list.getselecteditem( selected index )

regards
gopi@c2info.com

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: textfield
 
Similar Threads
How to Add the Text field to the TextArea or TextPane
greying out of text field
aligning text in TextField
Character width
assign string to an extern page !!!!!!