Zbigniew Banach wrote (10-11-2007 19:23)
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 :)

I experience the same problems on Linux:
http://api.openoffice.org/servlets/ReadMsg?list=dev&msgNo=18470


--

Cor Nouws
Arnhem - Netherlands
nl.OpenOffice.org - marketing contact

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to