incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerardo Gómez <>
Subject X button (the default close botton) on non modal dialogs of UNO-AWT doesn't close the dialog
Date Sat, 12 Nov 2011 06:45:28 GMT
I have a problem with the implementation of the dialogs of UNO-AWT. When i
show the dialog as non-modal, using the setVisible method from the XWindow
interface, the showed dialog doesn't close or hides when i press the "x"
button (the default close button of all windows). Is it possible to close
the dialog with the default close button, or as a modal dialog that method
doesn't work?.

P.S: I use this method to show or hide a dialog.

public void setVisible(boolean visible){
//        If this dialog is modal...
        if (modal){
            if (visible){
//       uses execute to show the dialog.
//       uses endExecute to hide the dialog.
//        If this dialog is not modal...
//   uses the setVisible method from the xWindow object.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message