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!

Serious Question about java 1.6 FocusTraversalPolicy abstract class.

Sergio1234Aug 11 2014

-I wish to set the tabbing order for all the JComponents I have successfully

added to my JFrame. Is submitting a new FocusTraversalPolicy the best way?

-Do I have to implement all 6 FocusTraversalPolicy methods?  If not,

what ones need to be done to tabbing with no exceptions thrown?

-My main problem is that I am extending off java.awt.FocusTraversalPolicy.

This is an abstract class, and I want to go jFrame.setFocusTraversalPolicy(newPolicy);

How do I get an instance of my extending abstract "MyFocusTraversalPolicy"class?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 8 2014
Added on Aug 11 2014
0 comments
1,002 views