thinks for your help.
I saw these articles before but I want to change the code generated for each component placed in a window.
for example I want when I did a "drag and drop" a button, a method that I specify are implemented in classes that I specify either generate.
How can I change the component resize behaviour?
I have a custom layout and a set of custom components. When I change the size of a component, this components constraint should change rather than its bounds. The constraint contains the bounds.
Eric Clayberg Messages: 873 Registered: July 2009 Location: Boston, MA
I would look at the implementation of things like SWT FormLayout, Swing SpringLayout, and others in the WB code base (whatever layout is closest to what you are doing would be a good choice). What you want to do is complex, but there are lots of existing examples you can learn from.