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 23070

Summary: Code generation is too hard to use
Product: guibuilder Reporter: Steve Benigan <benigan>
Component: CodeAssignee: issues@guibuilder <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 23675, 37680    
Bug Blocks:    

Description Steve Benigan 2002-05-02 23:48:02 UTC
The code generation is too hard to use.  It's ok for one 
or two components but when you need to use it for several 
components, it becomes too tedious to use the interface.

I would prefer to use the code generation since it 
encapsulates everything related to the component as 
opposed to writing code in before and after the 
initComponents().

Maybe the code generation needs a full editor so that all 
aspects are presented to the user on one panel in the form 
of the normal source editor (with protected areas).  This 
shouldn't be too difficult to do by creating one property 
in the property sheet called codeGeneration that has a 
customizer.  The customizer could be derived from the 
source editor so that it has all of its benefits such as 
syntax highlighting, code completion, etc. and would 
present the editable areas in order:

Pre Create
Creation
Post Create
Pre Init
Init
Post Init

Also, this could lead to two way editing if done 
properly...
Comment 1 Marek Grummich 2002-07-22 09:56:53 UTC
Set target milestone to TBD
Comment 2 Marek Grummich 2002-07-22 10:00:12 UTC
Set target milestone to TBD
Comment 3 Tomas Pavek 2005-05-16 16:43:34 UTC
Agree, making this an umbrella issue.