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.
Might be related to bug 201817. Now there are two additional issues: 1) New Project/File wizard dialog cannot be closed by top-right red cross button and on windows also with Alt+F4 2) New Project/File wizard dialog doesn't open anynmore if previously closed by setVisible(false). To reproduce: - open java.kit module - open "Functional Test Packages|IDEValidation.java" - toggle breakpoint at line 477 - debug file (Ctrl+Shift+F5) - after debugger stops at breakpoint try to open new project wizard but it is not possible Product Version: NetBeans IDE Dev (Build 201109120600) Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17 System: Windows XP version 5.1 running on x86; Cp1250; en_US (nb)
This is a stopper for all our automated tests and for Beta as well.
#1 is a duplicate of bug #202077. #2 sounds like a bug in the test; setting visible=false bypasses the code which handles the lifecycle of the wizard. (Why is not just simulating a click on the Cancel button, for example?) But it may also be a duplicate of bug #202077, TBD.
setVisible(false) works for all types of JDialog. We don't need to inspect content of a dialog.
*** This bug has been marked as a duplicate of bug 202077 ***