jQuery in Action, 3rd edition
The moose likes Swing / AWT / SWT and the fly likes JOption Pane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JOption Pane" Watch "JOption Pane" New topic
Author

JOption Pane

umut uzumcu
Ranch Hand

Joined: Jan 10, 2007
Posts: 43


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

Joined: Aug 31, 2004
Posts: 11343

You might consider a Formatted Text Field.


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: JOption Pane
 
It's not a secret anymore!