wood burning stoves 2.0*
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
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: 15957
    
  19

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How To Use TextField As Button
 
Similar Threads
TextField to the Applet
JPanels with different content should have the same size
How to change the tab order for jumping from one textfield to another
HTML to Applet
text event