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 15056 - Edit New Fields dialog should autoselect the text in the Name field
Summary: Edit New Fields dialog should autoselect the text in the Name field
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows 95/98
: P3 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-09-01 20:52 UTC by eadams
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description eadams 2001-09-01 20:52:19 UTC
Using the explorer drill into a java file until you find Fields.  Right-click to 
and choose Add Fields .. and you get the Edit New Fields dialog.

When this dialog comes up the Name field contains the text "newField".  This
text should be automatically selected.
Comment 1 Svata Dedic 2001-09-04 14:04:22 UTC
Changing to an enhancement request and moving to the proper mailing 
list.
The same should apply to all new -> object types, not only to java 
source things.

Comment 2 eadams 2001-09-04 21:59:56 UTC
I don't see why this would be an enhancement.  The behaviour
is clearly wrong.  Poor usability should be a bug.
Comment 3 Svata Dedic 2001-09-05 13:39:02 UTC
Sorry for setting the enhancement - I actually wanted to change 
another defect, that you've reported :-\
I'll make the edit box in the customizer automatically grab focus & 
highlight contents.
Comment 4 Svata Dedic 2001-09-07 08:57:52 UTC
Fixed in dev build. Please don't mind two blinking cursors ;-) in 
Field Customizer -- I've already filed a bug to our editor regarding 
this.

Comment 5 Jan Becicka 2001-09-19 09:51:32 UTC
[200109190100] Verified
Comment 6 Jan Becicka 2001-10-02 14:48:55 UTC
If new inner class is created, the text "InnerClass" is not 
automatically selected.
Svata, please auto-select names of new classes and interfaces too.
Comment 7 Svata Dedic 2001-10-04 12:41:15 UTC
Yes, my Lord...

Comment 8 Jan Becicka 2001-10-05 13:19:11 UTC
[200110050100] Lord is satisfied
Comment 9 Jan Becicka 2001-11-09 14:39:28 UTC
Does not work on JDK1.4 b85
Comment 10 Svata Dedic 2001-11-15 11:06:38 UTC
Fixed in trunk:

/cvs/openide/src/org/openide/src/nodes/ClassCustomizer.java,v  <--  
ClassCustomizer.java
new revision: 1.16; previous revision: 1.15

/cvs/openide/src/org/openide/src/nodes/FieldCustomizer.java,v  <--  
FieldCustomizer.java
new revision: 1.17; previous revision: 1.16

/cvs/openide/src/org/openide/src/nodes/MethodCustomizer.java,v  <--  
MethodCustomizer.java
new revision: 1.16; previous revision: 1.15


Comment 11 Jan Becicka 2001-11-16 12:42:09 UTC
Verified
Comment 12 Quality Engineering 2003-07-01 13:18:53 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.
Comment 13 Quality Engineering 2007-09-20 09:49:36 UTC
Reorganization of java component