Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8097928

Add Formatted TextField control

XMLWordPrintable

      Text entry control that displays formatted text such as phone number, date etc. Restricts input to a certain format and can also be used for validation of user input to a certain format. Sample JFormattedTextField:

      String mask = ##/##/####;
      jftt.setFormatterFactory(new DefaultFormatterFactory(new EmptyMaskFormatter(mask)));

        1. formattedtextfield.tar.gz
          4 kB
          Martin Sládeček
        2. TextChangeEventExample.java
          11 kB
          Steve Northover

            msladecek Martin Sládeček
            gstiwesjfx giovanni stiwes (Inactive)
            Votes:
            9 Vote for this issue
            Watchers:
            23 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: