Tab order in the internal JPanel

Posted on 2007-11-29
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.
Question by:kerzner
  • 3
  • 2
LVL 24

Expert Comment

ID: 20375636
You mean Z-order!

LVL 24

Expert Comment

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


Author Comment

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

Accepted Solution

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.


Author Comment

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

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
groupSum5 challenge 5 84
how do i compare an object based on two fields 6 53
hibernate example issues from command prompt 10 39
spring jars download 1 26
For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
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…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

816 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now