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.
[200508011800] Steps to reproduce: ------------------- 1) Show New module project wizard 2) Select wrong "Project Location". The "Next" button is disabled 3) Select "add to Module Suite" variant and change the suite in suite combobox The "Next" button is enabled.
Confirmed that there is a bug here. Somehow the panel is not checking for errors consistently after different events. IMHO every wizard panel should have one method /** * Either sets an error message and disables Next, * or clears error message and enables Next. */ void checkForError() {...} and every UI event which could possibly affect the outcome should call it.
> IMHO every wizard panel should have one method This is actually how all wizards behave, or at least should (checkValidity, checkForm, ..). However they are not forced. Maybe such method (probably abstract) should be added to the BasicWizardPanel to give a pointer do a developer. Anyway the checking code in the New Module wizard seems to be little chaotic, who wrote it? :) Started...
Fixed and cleaned up. Checking in ui/wizard/BasicInfoVisualPanel.java; 1.29 --> 1.30 Checking in ui/wizard/BasicInfoWizardPanel.java; 1.11 --> 1.12 Checking in ui/wizard/Bundle.properties; 1.22 --> 1.23
v