问题
I want to create an array of JButtons with the GUI Builder (not actually writing the code, but drawing it). I can only figure out how to change the name of the element, not add it to an array.
Thanks.
回答1:
http://wiki.netbeans.org/FaqGuiControlArray
回答2:
I think you'll find doing much "programmatically" will go beyond most GUI builders, other than for specific programmed-for exceptions.
来源:https://stackoverflow.com/questions/746325/create-an-array-of-jbuttons-with-the-netbeans-6-5-gui-builder