javax.swing.grouplayout not exist in jdk 1.5

末鹿安然 提交于 2019-12-04 09:36:22

Use the netbeans preferences and select org.jdesktop...., update manually the generated code by right-click in the form (Inspector Window -> select swing layout extensions instead of standard java6 code).

For NetBeans, see the answer by John Doe. For Eclipse with MyEclipse so you can use Matisse, in the Outline View, select the Form. Now in the Properties View look at "Layout Generation Style" and select "Swing Layout Extensions Library" rather than "Standard Java 6 Code."

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!