Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 11th, 2006, 11:25 PM   #1
hemanth.balaji
Programmer
 
Join Date: May 2005
Posts: 54
Rep Power: 0 hemanth.balaji is an unknown quantity at this point
Send a message via Yahoo to hemanth.balaji Send a message via Skype™ to hemanth.balaji
Java Swing FocusTraversalPolicy

I am using FocusTraversalPolicy policy in my Swing Project for tab out functionality. In some screens some componenets(combo box , textbox etc) are disabled in between some enabled components. So when i tab out from those which are enabled it loses focus when i tab out as that component after was disabled in that screen. So i started using if else loops to check which is the next enabled component in that order and set focus on it.

Is there a way in Swing builtin to tab out to the next focusable component in that order specified or should i manually do it for each component( if else checks). This code should apply to both Component after and component before functionality.

Regards,
Hemanth
( url removed}

Last edited by big_k105; Jul 3rd, 2006 at 12:43 PM.
hemanth.balaji is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:54 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC