• Post Reply Bookmark Topic Watch Topic
  • New Topic

JOption Pane

 
umut uzumcu
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


here I can get the entered double withdraw amount but the problem is I dont know how can I prevent the user to enter letters or punctuations(anything else than number.)?
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might consider a Formatted Text Field.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!