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.
}
putClientProperty ("NewFileWizard_Title", displayName);// NOI18N
if (template != null) {
final String baseName = isFolder ? LBL_folder_name() : LBL_SimpleTargetChooserPanelGUI_NewFilePrefix() + template.getName ();
final String baseName;
if (isFolder) {
baseName = LBL_folder_name();
} else {
Object targetName = template.getAttribute("targetName");//NOI18N
baseName = targetName instanceof String
? (String) targetName
: LBL_SimpleTargetChooserPanelGUI_NewFilePrefix() + template.getName ();
if (documentName == null) {
documentName = baseName;