当前位置: 代码迷 >> J2SE >> org.jdesktop.layout does not exist编译异常
  详细解决方案

org.jdesktop.layout does not exist编译异常

热度:185   发布时间:2016-04-24 00:50:59.0
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.
  相关解决方案