This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes problem with reverse tabbing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "problem with reverse tabbing" Watch "problem with reverse tabbing" New topic
Author

problem with reverse tabbing

John Neel
Greenhorn

Joined: Jul 20, 2004
Posts: 6
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

Joined: Jan 14, 2004
Posts: 1535
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
 
subject: problem with reverse tabbing
 
Similar Threads
!! Urgent !! Please hlp me ( problem jTable)!!!! thanks
One strange question about listener
NetBeans manually added component does not appear
Storing JTextField to variable
One strange question about listener