Mathias Bauer napisaĆ(a): > Zbigniew Banach wrote: > >> As I've said, the setFocus() call comes after the dialog is created and >> displayed. Is the dialog creation process somehow asynchronous? If so, >> you could be right that the setFocus() call comes too early. Would I >> need to set a focus listener or something like that to catch the "right" >> moment? > > At least on some platforms it can be asynchronous. As you seem to use > Linux: yes, possible.
Yup, that must be it. Now I've run the same code on Linux (Ubuntu) and Windows 2k, and under Windows setFocus() works as expected, while in Linux the focus is not transferred. Guess I'll have to put some Linux-specific hacking exploration on my TODO list :) Thanks for pointing me in the right direction once again, Mathias! Cheers, Zbigniew Banach --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
