By the way, I've tried to emulate the open button click by doing openButton.doClick() and didn't work either...
Joan Alamo -----Mensaje original----- De: Alamo Vallejo, Joan Enviado el: martes, 19 de diciembre de 2006 17:25 Para: '[email protected]' Asunto: aquireSystemWindow crashes (SystemWindowException) This is an old problem but I think it wasn't solved... I used to open a document by clicking a button inside my applet containing the openoffice and it worked fine, but now I want to load the document automatically when I run the applet but it crashes at this point: aBean.loadFromURL( url, loadProps ); aBean.aquireSystemWindow(); <-- Here I read this was caused by OOBean because it wasn't visible yet. I've tried with setting the OOBean visible just before the aquire.., Thread.sleep and even waiting till aBean.getParent().isShowing() but it didn't work.... Any idea? What can I do? Joan Alamo This e-mail may contain confidential or privileged information. Any unauthorised copying, use or distribution of this information is strictly prohibited.
