aspose file tools*
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
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: JOption Pane