Limiting Input Size ofTextField in j2me
Question
I want to get only numerical inputs how can i do it using TextField
Solution
TextField newTextField= new TextField ("Lines/Words:", "",3, TextField.NUMERIC);
OTHER TIPS
You can use the TextField#setInputConstraints to limit the input.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow