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 137737 - Wizards should support informational error messages
Summary: Wizards should support informational error messages
Alias: None
Product: platform
Classification: Unclassified
Component: Dialogs&Wizards (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: apireviews
Depends on:
Blocks: 137076 137334 138003
  Show dependency tree
Reported: 2008-06-19 15:57 UTC by pslechta
Modified: 2008-12-22 11:43 UTC (History)
3 users (show)

See Also:
Exception Reporter:

openide.dialogs diff (20.31 KB, text/plain)
2008-06-30 13:42 UTC, Milan Kubec
java.project.diff (8.04 KB, text/plain)
2008-06-30 13:43 UTC, Milan Kubec

Note You need to log in before you can comment on or make changes to this bug.
Description pslechta 2008-06-19 15:57:00 UTC
Today, wizards support only red error messages and warning messages. According to document there is also need to support error messages in normal (usually black) color
with info icon (see document for details).
Please implement such support.
This support is required by Issue 137076.
Comment 1 pslechta 2008-06-19 16:06:57 UTC
I suppose file openide.dialogs\src\org\openide\ needs to be changed, mainly inner class
WizardPanel, method setErrorMessage...
Comment 2 Jiri Rechtacek 2008-06-20 10:50:13 UTC
A request for new feature, it will need a change in WizardDescriptor API. Please, describe your use-cases which requires
that feature. We'll consider adding this into NB6.5 M2 plan or in NB7.
Comment 3 pslechta 2008-06-20 11:04:57 UTC
The use-case is described in document
Issue 137076 is just first request to implement this use-case.
Ask Petr Blaha (reporter of the issue) for more details if required.
Comment 4 Milan Kubec 2008-06-30 13:42:06 UTC
Created attachment 63683 [details]
openide.dialogs diff
Comment 5 Milan Kubec 2008-06-30 13:43:05 UTC
Created attachment 63684 [details]
Comment 6 Milan Kubec 2008-06-30 13:46:46 UTC
Attached files are intended for other issue, please ignore.
Comment 7 Milan Kubec 2008-06-30 13:57:01 UTC
Well, actually ... ignore my last comment - attached files contains impl. of the change - two new properties were introduced PROP_INFO_MESSAGE, PROP_WARNING_MESSAGE. java.project.diff contains usage of the API for New File Wizard. Please review the change. Thanks.
Comment 8 Jesse Glick 2008-07-02 15:43:04 UTC
Also need info icon for Module Project wizard.

The apichanges.xml entry does not seem to mention the topic of this issue, info icons! I guess this is getting confused
with issue #138128 (though the entry points to this IZ report).

Don't forget to update spec versions - both openide.dialogs/, and project.xml of calling modules.
Comment 9 Milan Kubec 2008-07-02 16:04:13 UTC
The icon is part of openide.dialogs module under org.netbeans.modules.dialogs - do you mean this?

I will provide better comment in apichanges.xml. I know about the confusion, even I'm a bit confused (see my previous comment), but I wanted to do both 
issue together in one API review, since they are very related.

I've updated spec ver. in openide.dialogs/ to 7.8. Not those modules though.

Comment 10 Jesse Glick 2008-07-02 16:10:46 UTC
No no, I meant that as in issue #138003, we need the informational message to be shown in a New Project subwizard for
module projects, thus setting that as a dependency on this.
Comment 11 Milan Kubec 2008-07-07 09:10:46 UTC

Comment 12 Quality Engineering 2008-07-09 04:15:44 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #308 build
User: Milan Kubec <>
Log: #137737, #138128: string properties changed to constants; new constants for warning and info messages introduced