Is there any way to get a TextBox in j2me not editable?
Because I want to fill a lot of lines but I don’t want the user to edit it.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For Textbox, this can be achieved by setting TextField.UNEDITABLE constraint (TextField is not a typo):
UNEDITABLEmodifier can be set inTextBoxconstructor, as well as usingsetConstraintsmethod. If you’re interested in more details on that, refer to TextBox API javadocs