Posted By:
kumar_john
Posted On:
Wednesday, June 27, 2007 11:00 AM
How can i get an integer from a textfield
i done it following maner but it didn't work
int x = Integer.parseInt(t1.getText());
it shows an error like this:
java.lang.NumberFormatException: For input string: " 235454"
plz plz help me what i will do ???