void () { if (myDialog == null){ //System.out.println("showDialog()"); myDialog = new DialogWrapper(myProject, false) { { getWindow().setBounds(0, 0, 1, 1); setResizable(false); } @Override protected boolean isProgressDialog() { return true; } @Override protected JComponent createCenterPanel() { return null; } }; myDialog.setModal(true); myDialog.setUndecorated(true); myDialog.show(); } }