Hello all. Is there any way to define custom initialization code for components? I'd like to not use the default constructor for JTree since it populates the tree with garbage data, but I can't seem to get around the UI Designer re-assigning the variable. For example, if I have:
this behavior is overridden in the UI Designer's init method. It seems that I then have to manually remove the sample data from the tree node which is both inefficient and a pain in the ^$$. I'd like to be able to specify the initialization / constructor behavior for components that are added to my form. Is this possible? Thanks so much.