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 - Trim leading/trailing blanks when user enters element name
Summary: Trim leading/trailing blanks when user enters element name
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: General (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-12 23:22 UTC by vaughn
Modified: 2008-02-12 23:22 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.