This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 67112

Summary: Disable close action on "Opening Projects" dialog
Product: projects Reporter: Jaromir Uhrik <juhrik>
Component: Generic Projects UIAssignee: Milan Kubec <mkubec>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jaromir Uhrik 2005-10-19 13:04:32 UTC
[#200510171800]
There is progress dialog with name "Opening Projects" while the project is being
opened. It is possible to close this dialog, but this action should be disabled.
Reason is that the dialog is modal and it is not expected to be closed until the
opening action is finished.
Comment 1 Jan Lahoda 2005-10-19 15:24:37 UTC
=>DEFECT.
Comment 2 Jaromir Uhrik 2005-10-27 15:32:09 UTC
It is not possible to close the dialog by clicking on x-widget (build
#200510261858) - none the less widget should be disabled (should be gray in
order to user is not attempting to close it). I am decreasing priority to P4.
Comment 3 Jan Lahoda 2005-12-07 10:40:00 UTC
Not sure if this is possible at all, will need to investigate. Not for 5.0.
Comment 4 Jesse Glick 2005-12-07 15:44:23 UTC
I don't think it's possible to remove the close button.
Comment 5 Milan Kubec 2008-04-01 11:53:07 UTC
Should be fixed, the code says:

dialog.setDefaultCloseOperation(JDialog.DO_NOTHING_ON_CLOSE);