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 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 Building Microservices this week in the Design 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
 
Have you checked out Aspose?
 
subject: How to make actual contents of the textField different than displayed
 
It's not a secret anymore!