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
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
posted
0
Try something like this. jcomponent1.setNextFocusableComponent(jcomponent2); Kent
Gaurav Chikara
Ranch Hand
Joined: Jun 09, 2000
Posts: 410
posted
0
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).]