开发者

How to handle org.netbeans.* references when migrating from NetBeans to Eclipse

开发者 https://www.devze.com 2023-03-29 07:17 出处:网络
There are a number of SO threads about importing a NetBeans project into Eclipse.I have managed to do this, but one issue I haven\'t seen addressed has to do with NetBeans layout managers.Throughout t

There are a number of SO threads about importing a NetBeans project into Eclipse. I have managed to do this, but one issue I haven't seen addressed has to do with NetBeans layout managers. Throughout the auto-generated NetBeans code are references such as:

getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

What can be done to make these libraries available to 开发者_如何学运维Eclipse? Also, do these libraries get incorporated into the build package, or are they expected to be found on the runtime platform?


I've added to my Eclipse project's build path org-netbeans-modules-swingapp.jar as well as C:\Program Files (x86)\NetBeans 6.5.1\java2\sources\org\netbeans\lib\awtextra (your path will vary) with good success.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号