Details
-
Enhancement
-
Resolution: Fixed
-
P3
-
9
-
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>
<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
- relates to
-
JDK-8282894 Clarify spec for InputVerifier.shouldYieldFocus
-
- Open
-
-
JDK-8282895 InputVerifier.shouldYieldFocus should call verify directly
-
- Open
-
-
JDK-8154065 Public sun.awt.RequestFocusController and sun.awt.AWTAccessor API
-
- Closed
-