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.
Bring up the Library Manager via <Tools | Library Manager...> Click on <New Library> Type in an invalid library name (e.g. includ a space character in the name). Note that the OK button is disabled due to the invalid name and that default button status has shifted to the Cancel button. Because of this behavior, if the user quickly types in a name (that is invalid) and hits <Enter>, the dialog will be cancelled and their library will not be added to the list. This is confusing because this can be done quickly enough that the invalid name message is never displayed, or displayed in the tenth of a second before the <Enter> closes the dialog. If <Cancel> does NOT become the default button, this will not happen. The user will hit <Enter> and nothing will happen - instead, the dialog will remain visible and they will see the name they typed in as well as the error message indicating that it is invalid.
Fixed in: src/org/netbeans/modules/project/libraries/ui/Bundle.properties; new revision: 1.18; previous revision: 1.17 src/org/netbeans/modules/project/libraries/ui/LibrariesCustomizer.java; new revision: 1.16; previous revision: 1.15 src/org/netbeans/modules/project/libraries/ui/NewLibraryPanel.java; new revision: 1.10; previous revision: 1.9
This issue was solved long time ago. Because nobody has reopened it neither added comments, we are verifying/closing it now. If you are still able to reproduce the problem, please reopen. Thanks in advance.