• Post Reply Bookmark Topic Watch Topic
  • New Topic

Tab from a empty JTable to JTextField  RSS feed

 
Jack Lau
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I have a JTable with empty record contained in a JTabbedPane in index 0 and I would like to tab from the empty table to JTextField contained in JTabbedPane index 1. I use FocusTraversalPolicy for both JTable and JTextField but I found that the focus stop in the empty JTable but cannot forward to the JTextField.

Does anyone know how to solve it?

Thanks,
Jack
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!