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.
Hi, I'd like it to be possible to have an array of components managed with the form editor (the code for declaration and instantiation/initialization generated by the IDE, not written manually). For example, if the user selected two or more components of the same type, they would be able to type an array name into the Name property (in the Properties window, Code Generation tab). An array declaration would be generated for an array of size equal to the number of components selected, that would contain those components. For initial setup of components (bounds, size, style, etc.), a for loop containing the corresponding code could also be automatically generated .
Not sure about this enhancement - seems quite specific (or marginal) feature to me, still requiring lots of changes in current model. Don't think implementing an array support would be worth the effort.
*** Issue 113187 has been marked as a duplicate of this issue. ***