http://download.eclipse.org/windowbuilder/latest/
打开eclipse,help -> Install New Soft...把上述插件网址贴进去,勾选WindowBuilder,安装,重启eclipse,File -> New -> Other -> WindowBuilder -> Swing Designer -> JFrame, 填写完成后,自动生成代码,在代码的左下角,点击Design,就可以看到可视化的编程界面