Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Next Focused Component in Swing

0 views
Skip to first unread message

richar...@acuma.co.uk

unread,
Mar 18, 1999, 3:00:00 AM3/18/99
to
Hi all,

Can you find out where the focus has gone within a components focusLost()
listener ?

I can do this with SwingUtilities.findFocusOwner() BUT, you need to put this
in a seperate thread with a delay to let the focus get to the next component
in time.

Obviously this leads to very dodgey code.

nextFocusableComponent does not seem to work either ?

Any other idea's ?

Rich

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own

0 new messages