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 107313

Summary: "Generate Constructor" dialog only allows to chosse one item
Product: java Reporter: Tim Lebedkov <lebedkov>
Component: UnsupportedAssignee: Daniel Prusa <dprusa>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Tim Lebedkov 2007-06-19 19:22:52 UTC
- alt+ins in the editor for a class that extends ImageIcon
- generate constructor
- only one item can be choosen
Comment 1 Jiri Prox 2007-06-20 09:24:28 UTC
I suppose you've meant Generate Constructor (invoked by "Constructor..." item in Generate menu)

It's as designed, since there can be only one super(...) call in the constructor. Maybe the UI should be changed to use
RadioButtons to make it clearer.
Comment 2 Daniel Prusa 2007-09-05 15:48:01 UTC
Multiple selection can be allowed to generate several constructors at once, similarly as it is supported e.g. when
generating getters.
Comment 3 Daniel Prusa 2007-09-11 10:21:00 UTC
Fixed.

/java/editor/src/org/netbeans/modules/java/editor/codegen/ConstructorGenerator.java
rev. 1.10
Comment 4 Tim Lebedkov 2007-09-19 18:52:55 UTC
ok