>> > That was often required when using requestFocus() prior to JDK 1.4,
>> > but I do not think it has been necessary since the 1.4 focus rewrite.
[quoted text clipped - 3 lines]
> Can you explain the conditions under which it was necessary? Or better
> yet, provide a runnable example of this?
you can download jgui source and search for SwingUtilities.invokeLater()
however it is used not for focus issues,
but for repacking components after undocking.

Signature
Andrey Kuznetsov
http://uio.dev.java.net Unified I/O for Java
http://reader.imagero.com Java image reader
http://jgui.imagero.com Java GUI components and utilities
John McGrath - 12 Jan 2005 23:04 GMT
> you can download jgui source and search for SwingUtilities.invokeLater()
> however it is used not for focus issues, but for repacking components
> after undocking.
Oh, OK. Yes, I have run into many cases where posting an action to the
event queue is necessary, including focus-shifting code before Java 1.4.
But since the 1.4 focus changes, I have not found it necessary for dealing
with focus.

Signature
Regards,
John McGrath