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 21578

Summary: Paste component names into source editor
Product: guibuilder Reporter: bht <bht>
Component: CodeAssignee: issues@guibuilder <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Other   
Issue Type: ENHANCEMENT Exception Reporter:

Description bht 2002-03-13 20:10:55 UTC
Copy from the form editor or explorer a list of components and paste them as
names into the editor such as:

this.jTextFieldFirstName
this.jTextFieldMiddleName
this.jTextFieldLastName

so you can use the result as a complete list of components that need data from
objects in your code.

I have carpal tunnel (overuse) syndrom from typing and using the mouse too much
in netbeans.

This would be a great help.

There are obviously many ways to automate the generation of forms from data such
as databases but these involve code generation.
The suggested method of course assumes that a form with components already exists.

But given the ease of implementing the pasting of text from what is already on
the clibboard, the power to weight ratio of such an engancement appears to be
extremely high.
Comment 1 Marek Grummich 2002-07-22 08:12:06 UTC
Target milestone was changed from not determined to TBD
Comment 2 psuk 2004-03-23 18:37:54 UTC
Changing subcomponent to "clipboard", although it might become to be
another component (form).
Comment 3 Miloslav Metelka 2005-01-26 13:42:26 UTC
IMHO this could be implemented by copying the requested names as a
plain text dataflavor in the form editor. The editor would then
normally paste the plain text dataflavor so no change would be
required on the editor side. Passing to form editor for evaluation.
Comment 4 Tomas Pavek 2005-05-16 16:54:37 UTC
Seems that this would be possible. Just not sure why copying the names within
the editor is not enough (e.g. from the variables area).