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

Allow source and target based validation for the focus transfer between two JComponents

    XMLWordPrintable

Details

    • b124
    • generic
    • generic

    Description

      Currently class javax.swing.InputVerifier supports the source based validation only. It is worth to add the focus target based validation to support some extended scenarios.


      <releasenote>
      The javax.swing.InputVerifier class now extended to support the source+target based input focus transferring validation with the release of JDK 9. A new javax.swing.InputVerifier#verifyTarget() method is added, the javax.swing.InputVerifier#shouldYieldFocus() method is overloaded to accept both Swing components participating in focus transfer operation, its old version is now deprecated and does not used by Swing.
      </releasenote>

      Attachments

        Issue Links

          Activity

            People

              ssadetsky Semyon Sadetsky (Inactive)
              ssadetsky Semyon Sadetsky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: