Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tabbing Sequence

 
Gaurav Chikara
Ranch Hand
Posts: 412
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are trying to move a tab to another location, you'll need to write a function to do something like this...



-Nate
 
Kent Farnsworth
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try something like this.
jcomponent1.setNextFocusableComponent(jcomponent2);
Kent
 
Gaurav Chikara
Ranch Hand
Posts: 412
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic