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 127244

Summary: Trim leading/trailing blanks when user enters element name
Product: uml Reporter: vaughn <vaughn>
Component: GeneralAssignee: issues@uml <issues>
Status: NEW ---    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description vaughn 2008-02-12 23:22:08 UTC
Throughout the tutorials, the user is instructed to copy a name from the tutorial and 
change the default name when creating a new element. If I double click the name in the 
tutorial, then paste it into the IDE, the name often has a trailing blank. The error message 
says the name is not valid, but it looks valid because the trailing blank is not obvious. 
Better to automatically trim whatever the user enters, before validating the name format.