-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
1.3.0, 1.3.1
-
Fix Understood
-
generic, x86
-
generic, windows_nt
Name: krT82822 Date: 10/11/99
We would like to have a second parameter in
InputVerifier.shouldYieldFocus(lastFocus).
Your new class InputVerifier might be quite handy for us.
Currently we are using a similar mechanism, which is
not as elegant, as it is programmed outside the Swing
classes.
For our applications it is necessary, though, in the
method shouldYieldFocus() to have a handle on the component
to which the focus should go. In some cases the focus
change might be allowed, e.g. when the focus passes to
a field "in the same set" as the field from which it
comes.
---------
10/11/99 eval1127@eng -- you'll already have a ref to the "to" component when this method gets called. User apparently just would like to see an alt. form
where this ref is explicitly passed as an additional arg.
(Review ID: 96351)
======================================================================
- duplicates
-
JDK-4417650 shouldYieldFocus() of InputVerifier needs to know who is getting focus
-
- Closed
-
-
JDK-4486518 InputVerifiers cannot use message boxes to display error info
-
- Closed
-
- relates to
-
JDK-6235762 InputVerifier() should have information from FocusEvent.isTemporary()
-
- Open
-