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.
Use the information icons for required fields and also remove bolding for 'Database' field. See the InformationIcons spec: http://wiki.netbeans.org/InformationIcons
I have the fix ready, I just want to make sure I've followed the guidelines. For each required field, the initial message to the user will be an info icon with black text since that's the way we default the field. Once the user begins inputting into a field, if the user clears the input we show an error icon with red text for that field. That's my interpretation of how the guideline applies to this dialog. Do you agree?
Jano, can you please comment this? Thanks
I just realized that I was reading the proposal part of that page. Has that proposal been generally accepted? If not, I'll just use the error format as is used elsewhere in netbeans.
Yes. For instance, try to register Tomcat 6.0 and you should see this information icons in the dialog.
I see. My interpretation was too complicated. Invalid data should be marked as an error, while a required empty field is marked as info. Just a minor tweak to what I've got. Thanks for following up.
The change is complete. Does this require a late UI change request?
e518d0496d61
Integrated into 'main-golden', will be available in build *200809111401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/e518d0496d61 User: Rob Englander <mindstream@netbeans.org> Log: #146656 Added standard NetBeans error/info message display to New Connection dialog instead of using Bold field labels to indicate required fields. The dialog now properly shows an info icon and info text when required fields have no values, and shows an error icon and red text when an error condition is found, such as a bad url format. An ErrorInfoPanel component has been created so that other db explorer dialogs can eventually be updated as well without having to create the icon and text widget functionality all over again.
Verified with build 080910.
Reopened to add conformance to netbeans standards.
152c752ca0df
Integrated into 'main-golden', will be available in build *200809120201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/152c752ca0df User: Rob Englander <mindstream@netbeans.org> Log: #146656 Added license header and adopted netbeans UI standards.
Verified with build 080911.