Christoph Lutz wrote:
Hi Mathias,
I know that someone successfully used a trick to achieve modality: when
her started his Java dialog he created a 1 pixel sized modal dialog with
the OOo toolkit with the current OOo window as parent and moved it to
the upper left corner of the screen. This will create the desired modal
mode.
yes, the modal-mode works using the following code, but I don't know
how to return from the xInfoBox.execute() method in a programmatic
way. I need to stop the execution of the infobox-dialog when my
jframe-dialog returns. I already tried to use dispose() on the
XComponent-Interface of xInfoBox from a different thread, but that
caused OOo to crash.
... create Toolkit ...
.....................
any ideas?
A particular API for modality would be fine!
best regards,
Christoph
Christoph, Mathias,
I know that there is a programming language called Java, and that's
about all I know of it, but some of the terms you use rang a bell.
Maybe you can find something of interest in the following links:
API: https://jmodalwindow.dev.java.net/
Article: http://today.java.net/pub/a/today/2004/09/07/modal.html
I hope this helps.
Sincerely,
Gerrit Jasper
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]