I want to store each character that is input from user. When user presses key, that key should store in any variable. When user presses other key, it must replace the value of variable with new character in textbox in j2me
Share
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.
yes you need to listen event ItemStateListener and then you can handle it in itemStateChanged(..) Here is full code