Forum Stats

  • 3,852,558 Users
  • 2,264,113 Discussions


Serious Question about java 1.6 FocusTraversalPolicy abstract class.

-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?

This discussion has been closed.