• Post Reply Bookmark Topic Watch Topic
  • New Topic

Tabbing into a Scroll List

 
Jeff Chang
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I am wondering if it is possible to be able to tab into a scroll list?
Say, I use a JPanel (with GridBagLayout) containing a JScrollPane
in which a JList is added, and also a few JButtons exist in this JPanel.
What I want to is that:
(1) whenever pressing TAB key, the correct tabbing order for this wizard should be: button1, button2, ..., buttonX, scroll list, and then again button1, ...
(2) whenever pressing Shift + TAB keys, the correct tabbing order for this wizard should be the reversed order, i.e. scroll list, buttonX, ..., button2, button1, and then again scroll list,
buttonX, ...
The problem is that I could not tab into this scroll list but only buttons now. Anybody know how to solve such a problem? Any sample codes are appreciated if possible.
Regards,
Jeff
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!