aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Tabbing Sequence Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Tabbing Sequence" Watch "Tabbing Sequence" New topic
Author

Tabbing Sequence

Gaurav Chikara
Ranch Hand

Joined: Jun 09, 2000
Posts: 410
By default tabbing sequence is the same in the way we added components to our Panel
But if we want to change it programmatically can anyone tell me
Is there any way of doing it
i want to change tabbing sequence of my component programatically


[This message has been edited by Gaurav Chikara (edited December 06, 2001).]


SCJP,SCWCD,SCBCD<br />If Opportunity doesn't knock then build the door
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

If you are trying to move a tab to another location, you'll need to write a function to do something like this...



-Nate


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Kent Farnsworth
Greenhorn

Joined: May 31, 2000
Posts: 7
Try something like this.
jcomponent1.setNextFocusableComponent(jcomponent2);
Kent
Gaurav Chikara
Ranch Hand

Joined: Jun 09, 2000
Posts: 410
In My Case
I have a set of rows retrieved in a JTable
I have put the condition that if retrived rows are more than one then focus on submit button is requested
As a result tab moves only in first row and after that it moves to the submit button
What i needed was that tab should move from topleft cell to bottom right cell and then on the Submit Button
I am not able to find a crack to this problem
If anyone can give me a hint i will be thankful
[This message has been edited by Gaurav Chikara (edited December 14, 2001).]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tabbing Sequence