wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Regarding TextBox validation in Swing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Regarding TextBox validation in Swing" Watch "Regarding TextBox validation in Swing" New topic

Regarding TextBox validation in Swing

Nodappa Hero

Joined: Apr 06, 2003
Posts: 1
I have got a problem. I want user to be restricted for entering only numeric characters into the textbox. Any pointers on this.
Avi Abrami
Ranch Hand

Joined: Oct 11, 2000
Posts: 1121

Hi Nodappa,
In case you haven't already seen it, I think the following section of the Java Tutorial is relevant:
And if you are using java version 1.4, then I think this (other) section of the Java Tutorial is also relevant:
Hope this helps.
Good Luck,
I agree. Here's the link: http://aspose.com/file-tools
subject: Regarding TextBox validation in Swing
Similar Threads
Converting to Float
saving the details in when i click next and previous buttons
problem in getting values using EL
Textbox value removal
hide dropdown list