Solved

Tab order in the internal JPanel

Posted on 2007-11-29
5
827 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
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…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

758 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

21 Experts available now in Live!

Get 1:1 Help Now