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

Add Formatted TextField control

    XMLWordPrintable

    Details

      Description

      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)));

        Attachments

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

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported: