Forum Stats

  • 3,815,470 Users
  • 2,259,032 Discussions
  • 7,893,112 Comments

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.