WindowBuilder generated code
818687Dec 11 2010 — edited Dec 11 2010Hi,
When using NetBeans for UI development, developers add components to a frame (that extends JFrame) , change components' properties etc., the IDE generates some relevant code and puts it in initComponents(). initComponents is under the control of the IDE and developers are warned not to modify it. If I want to add some code regarding the Frame initialization, I add it to the ctor and I am sure the IDE will not touch it.
On the other hand, when using WindowBuilder for Eclipse the IDE generated code goes straight in the frame's ctor. My question is:
Where do I put my frame's initialization code so that we (me and the IDE) dont step on each other toes?
Thanks