wood burning stoves 2.0*
The moose likes Java Micro Edition and the fly likes How to make actual contents of the textField different than displayed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "How to make actual contents of the textField different than displayed" Watch "How to make actual contents of the textField different than displayed" New topic
Author

How to make actual contents of the textField different than displayed

George Jones
Greenhorn

Joined: Oct 25, 2009
Posts: 1
Under the constraints section of the J2ME Class TextField API, it says:

"The actual contents of the text object are set and modified by and are reported to the application through the TextBox and TextField APIs. The displayed contents may differ from the actual contents if the implementation has chosen to provide special formatting suitable for the text object's constraint setting. "

How would you do this in implementation? I am looking to have the input to the textField be NUMERIC only, but I would like to display some characters that are rejected by the NUMERIC constraint. Thanks
Aleksandar Babic
Ranch Hand

Joined: May 30, 2007
Posts: 68
Maybe this helps
http://discussion.forum.nokia.com/forum/showthread.php?t=170508
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to make actual contents of the textField different than displayed