chek the value of textfield
Posted on 2001-09-13
i have a textfield component in my applet,
i want the input value is stricted to integer, if there is an invalid input value(for example a,b,....), the textfield will forbiden the input.
and also there is a limit range for the integer(within
-255...255) ,i also want the textfield component can check this.
how can i do this?
code is better