For NetBeans, see John Doe's answer. For Eclipse with MyEclipse, so you can use Matisse, in the structure view, select the form. Now, in the property view, look at “Layout Generation Style” and select “Layout Layout Extension Library” rather than “Standard Java 6 Code”.
source share