• Post Reply Bookmark Topic Watch Topic
  • New Topic

Number Format Exception

 
Jaya Alagar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the following code.
I want string s to = text(text field) text.getText and convert String s into an int, integer r.
It gives me the Number Format Exception.

ACTION LISTENER:
 
Rob Camick
Ranch Hand
Posts: 2700
10
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!