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.
我在netBeans里面找得到是swing-layout-1.0.4.jar.