Results 1 to 3 of 3
  1. #1
    Dcalladi is offline Member
    Join Date
    Oct 2011
    Posts
    27
    Rep Power
    0

    Default JFormattedTextField

    Hi Guys,
    I'm looking the syntax for a input mask that will allow me to input
    1.23, 12.34, 123.45 into the JFormattedTextField
    i found something like ###.## but that doesn't work
    but something like ###-## wud work.
    just wondering if anyone knows how to do this with a mask or currency format or number format

  2. #2
    milovan is offline Senior Member
    Join Date
    Jan 2011
    Location
    Belgrade, Serbia
    Posts
    270
    Rep Power
    4

  3. #3
    Dcalladi is offline Member
    Join Date
    Oct 2011
    Posts
    27
    Rep Power
    0

    Default Re: JFormattedTextField

    yes i've check around alot in other fourms, checked the API, and also the link mentioned above

Similar Threads

  1. Old value reappears in JFormattedTextField
    By Victoria in forum AWT / Swing
    Replies: 7
    Last Post: 12-13-2011, 01:20 AM
  2. JFormattedTextField and MaskFormatter
    By javaw in forum AWT / Swing
    Replies: 1
    Last Post: 04-20-2010, 06:42 PM
  3. add jformattedTextfield in jtable
    By anilkumar_vist in forum Advanced Java
    Replies: 1
    Last Post: 11-18-2009, 05:42 PM
  4. JFormattedTextField + SimpleDateFormat
    By Ralphw in forum AWT / Swing
    Replies: 1
    Last Post: 07-07-2009, 10:53 AM
  5. JFormattedTextField Issue
    By teracomp in forum AWT / Swing
    Replies: 1
    Last Post: 01-21-2008, 06:55 PM

Tags for this Thread

Posting Permissions

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