使用eclipse开发UI界面时,选用了swt/jface,下面是在eclipse添加swt。
1.Open the Import wizard from the main menu via File > Import..., and select Plug-in Development > Plug-ins and Fragments. Click Next.
2.On the Import Plug-ins and Fragments page, select
Import from: The active target platform.
Plug-ins and Fragments to import: Select from all plug-ins and fragments found at specified location.
Import As: Projects with source folders.
Click Next.
3.On the Selection page, Add org.eclipse.swt.{platform}.{os}.{arch} (for example: org.eclipse.swt.win32.win32.x86 for win32) to Plug-ins and Fragments to Import: list.
Click Finish.
This will create the org.eclipse.swt.{platform}.{os}.{arch} project which we will need to compile and run the application.
4.refer to http://wiki.eclipse.org/JFace to add jface.
3151




被折叠的 条评论
为什么被折叠?



