ehmf
asked on
Converting data inside JTextField to interger
hi all
I want to convert what is inside a JTextField to integer. I use the following way :
int blck = Integer.parseInt(readTextF ield.toStr ing());
but it does not work and it fies the exception handling when use it.
can some one tell me how can I do it and what classes I need to import ??
I want to convert what is inside a JTextField to integer. I use the following way :
int blck = Integer.parseInt(readTextF
but it does not work and it fies the exception handling when use it.
can some one tell me how can I do it and what classes I need to import ??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
:-)