Results 1 to 2 of 2
  1. #1
    farshad's Avatar
    farshad is offline Member
    Join Date
    Dec 2011
    Posts
    19
    Rep Power
    0

    Thumbs up How setonly Numeric value for JTextField?

    Hi dears
    I have a Swing form that contains many JTextField
    now I want when user set value for this JtextField (for example JTextField age) ,user can only enter numeric value.
    thnaks.

  2. #2
    PhHein's Avatar
    PhHein is offline Senior Member
    Join Date
    Apr 2009
    Location
    Germany
    Posts
    1,430
    Rep Power
    6

    Default Re: How setonly Numeric value for JTextField?

    Last edited by PhHein; 01-28-2013 at 01:35 PM.
    Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
    The Ubiquitous Newbie Tips

Similar Threads

  1. Replies: 4
    Last Post: 11-18-2012, 10:43 PM
  2. Replies: 7
    Last Post: 11-18-2012, 04:22 AM
  3. Replies: 3
    Last Post: 11-14-2011, 05:13 AM
  4. JXL, Numeric data issue
    By only2008 in forum Java Servlet
    Replies: 0
    Last Post: 02-27-2009, 11:36 AM
  5. Replies: 1
    Last Post: 01-30-2009, 06:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •