File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with reverse tabbing

 
John Neel
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Please have a look at the following code.
The focus is shifted from component to component well, when we do tabbing.
But when we do reverse tabbing, the focus is not maintained properly.

Please advise me how to resolve this.

Thanks and Regards,
Janardan

 
Craig Wood
Ranch Hand
Posts: 1535
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using j2se 1.5, commented out all the setNextFocusableComponent calls and changed the show to setVisible and your code compiled and ran okay. The reverse tabbing worked well this way. Check the JComponent api Method Detail for getNextFocusableComponent. It is deprecated as of j2se 1.4. If your api doesn't have the link to the new focus system page, here it is: How to use the Focus SubSystem.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic