netbeans的界面用swing,而swing在jre里有,所以不用打包到jar里。但是eclipse是用自己的类库swt,swt可以看成是swing的重新实现,因为jre里没有,所以需要打包到jar里。