?
Solved

Tab order in the internal JPanel

Posted on 2007-11-29
5
Medium Priority
?
834 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1000 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

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…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses
Course of the Month7 days, 23 hours left to enroll

765 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