org.jdesktop.layout does not exist编译错误
没搞过swing,netBeans报
package org.jdesktop.layout does not exist
swing-layout-1.0.4.jar 包夜导入了.
------解决方案--------------------
可能还有别的jar吧,最简单的办法就是在Eclipse里面展开这个jar包,确认一下是不是真的有这个类?
------解决方案--------------------
In NetBeans and under your project in question under your projects tab, right click on the folder named Libraries. Click on "Add Library" and then scroll to find "Swing Layout Extensions". Select "Swing Layout Extensions" and then click the "Add Library" button. The error should have gone away.