Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JSpinner Focus Issues

843805Nov 22 2006 — edited Nov 22 2006
Hi,
I am working on this swing screen where i have multiple components like textboxes ,combos,and some spinners(JSpinners)

Problem is that i have lost the default focus traversal policy as some components were deleted and some added.

To reslove this i wrote a custom FocusTraversal policy which is woking fine .
Only issues is when i tab form a text box to a JSpinner cursor does not appear inside it .But if i tab again cursor moves inside next component.
(Jspinner is enabled)

Can some one suggest how to do that ?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 20 2006
Added on Nov 22 2006
6 comments
249 views