How to make actual contents of the textField different than displayed
Joined: Oct 25, 2009
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