[Libreoffice] SWT window locks LOo

Marcin Gutman mgutman at op.pl
Tue Nov 29 08:19:50 PST 2011


Hi,

I have tested your code example. It works fine under Linux if I remove
    //display.dispose();
from
    public SWTBrowser(String location) {...}

PS
In my own extensions I use Java Swing windows. In Swing there is a 
JFrame option:
      frm.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
Try to find something like this in SWT and don't call dispose() manually.



More information about the LibreOffice mailing list