博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Developing SWT applications using Eclipse
阅读量:4953 次
发布时间:2019-06-12

本文共 1167 字,大约阅读时间需要 3 分钟。

Developing SWT applications using Eclipse

While SWT is integrated as part of the Eclipse plug-in API, for standalone application development it is best to develop against the SWT standalone download. This document will help you get set up.

First, download the .zip of SWT for your platform from the .

The SWT .zip file can then be imported into your workspace. In the File menu, chooseImport and select the Existing Projects Into Workspace wizard. (In newer versions of eclipse, you can find Existing Projects Into Workspace in the General category).

Existing Projects Into Workspace Wizard

Direct the wizard to the location where you downloaded the .zip file. This will create a project called org.eclipse.swt in your workspace.

Import Projects Wizard

Your Java projects can then add the SWT project as a dependency. Open the properties dialog of your Java project, and on the Java Build Path page, include the org.eclipse.swt project.

Project Properties

With the SWT project as a dependency, you can now benefit from Eclipse features such as the Javadoc view and code assist.

SWT Eclipse Example

Now you can run any main class in your project by selecting the class and then selectingRun > Run As > Java Application

转载于:https://www.cnblogs.com/lashwang/p/3719629.html

你可能感兴趣的文章
jQuery
查看>>
百度地图实现车辆轨迹移动播放(baidu map api)
查看>>
constructor-arg子元素的解析
查看>>
centos6.5 ssh安全优化,修改默认端口名,禁止root远程登录
查看>>
Linux下的tar压缩解压缩命令详解
查看>>
React可控组件与不可控组件
查看>>
Html5新特性
查看>>
python之常用模块学习
查看>>
实用日期时间修改方法
查看>>
sshfs把远程主机的文件系统映射到本地的目录中(转载)
查看>>
MyBatis简介
查看>>
windows下mysql 5.7以上版本安装及遇到的问题
查看>>
bash下自动重新运行git/curl等工具
查看>>
ubuntu server 1604 搭建FTP服务器
查看>>
极大似然估计
查看>>
Euclidean space-欧几里得空间【转】
查看>>
hdu 3367 Pseudoforest
查看>>
Apache Shiro 快速入门教程,shiro 基础教程
查看>>
网页设计
查看>>
【算法4】迪杰斯特拉双栈算法处理算术表达式
查看>>