Solved

Tab order in the internal JPanel

Posted on 2007-11-29
5
831 Views
Last Modified: 2013-12-29
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
Comment
Question by:kerzner
  • 3
  • 2
5 Comments
 
LVL 24

Expert Comment

by:sciuriware
ID: 20375636
You mean Z-order!

;JOOP!
0
 
LVL 24

Expert Comment

by:sciuriware
ID: 20375691
Look in the JAVADOC for
JPanel.getComponentZOrder(Component k);
and
JPanel.setComponentZOrder(Component k);

;JOOP!
0
 
LVL 1

Author Comment

by:kerzner
ID: 20375891
No, I mean tab order of components in one screen
0
 
LVL 24

Accepted Solution

by:
sciuriware earned 500 total points
ID: 20380266
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
 
LVL 1

Author Comment

by:kerzner
ID: 20382259
I am sorry, do you know what we are talking about?
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This video teaches viewers about errors in exception handling.

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question