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.
Summary: | [Project Wizard] enabled Next when is selected module suite | ||
---|---|---|---|
Product: | apisupport | Reporter: | pzajac <pzajac> |
Component: | Project | Assignee: | Martin Krauskopf <mkrauskopf> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
pzajac
2005-08-02 15:22:13 UTC
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 |