This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes How To Use TextField As Button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "How To Use TextField As Button" Watch "How To Use TextField As Button" New topic
Author

How To Use TextField As Button

Kartik Raina
Greenhorn

Joined: Sep 16, 2010
Posts: 10
Hello,
I am relatively new Java ME. I was first trying to use StringItem as a Button, in which i was successful. I also found that while initializing a TextField the is an attribute for using TextField as a button (TextField.BUTTON). But it doesn't work as a button. It works just like any TextField would. Can any one please help me out.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17046
    
  26

Wait a minute. You're expecting a Text Input control to act like a pushbutton? How do you reconcile with making it act like a Text Input control? Especially since the way you select a Text Input control for text input is to "click" on it.


An IDE is no substitute for an Intelligent Developer.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: How To Use TextField As Button
 
jQuery in Action, 3rd edition