• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 837
  • Last Modified:

Tab order in the internal JPanel

Hello, experts,

I have a JPanel inside of my JFrame, and I am setting tabbing order for it. I have done the regular FocusTraversalPolicy operations which always work in the main container. However, for the internal one, it is not used nor called in the debugger.

Anything I could be missing?

Thank you.
0
kerzner
Asked:
kerzner
  • 3
  • 2
1 Solution
 
sciuriwareCommented:
You mean Z-order!

;JOOP!
0
 
sciuriwareCommented:
Look in the JAVADOC for
JPanel.getComponentZOrder(Component k);
and
JPanel.setComponentZOrder(Component k);

;JOOP!
0
 
kerznerAuthor Commented:
No, I mean tab order of components in one screen
0
 
sciuriwareCommented:
For any TAB-order (that's a Microsoft Visual Studio term) or Z-order,
apply those calls to the container.

So, for an entire application: the frame.
For the entire screen: the Desktop.

;JOOP!
0
 
kerznerAuthor Commented:
I am sorry, do you know what we are talking about?
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now