|
Lines 25-44
Link Here
|
| 25 |
select the latest release build, and find the <b>SWT Binary and Source</b> |
25 |
select the latest release build, and find the <b>SWT Binary and Source</b> |
| 26 |
download.<br/> |
26 |
download.<br/> |
| 27 |
<br/> |
27 |
<br/> |
| 28 |
Save the file to your disk; you do not need to extract the archive. |
28 |
Save the file to your disk.<br/> |
| 29 |
</description> |
|
|
| 30 |
</item> |
| 31 |
<item title="Import the SWT project" dialog="true" skip="false" href="/org.eclipse.platform.doc.user/tasks/tasks-importproject.htm"> |
| 32 |
<description> |
| 33 |
Import the SWT project from the main menu via File > Import..., |
| 34 |
and select <b>Existing Projects into Workspace</b>. Specify the |
| 35 |
<b>archive</b> file you downloaded and click <b>Finish</b>.<br/> |
| 36 |
<br/> |
29 |
<br/> |
| 37 |
This will create the org.eclipse.swt project which we will need |
30 |
Extract the downloaded zip file to a folder. The extracted folder will contain the jar file, <b>swt.jar</b>. |
| 38 |
to compile and run the application. |
|
|
| 39 |
</description> |
31 |
</description> |
| 40 |
<command serialization="org.eclipse.ui.file.import(importWizardId=org.eclipse.ui.wizards.import.ExternalProject)" required="false" translate=""> |
|
|
| 41 |
</command> |
| 42 |
</item> |
32 |
</item> |
| 43 |
<item title="Create a Java project" dialog="true" skip="false" href="/org.eclipse.jdt.doc.user/concepts/concepts-3.htm"> |
33 |
<item title="Create a Java project" dialog="true" skip="false" href="/org.eclipse.jdt.doc.user/concepts/concepts-3.htm"> |
| 44 |
<description> |
34 |
<description> |
|
Lines 56-63
Link Here
|
| 56 |
project properties. Right-click on the project and select |
46 |
project properties. Right-click on the project and select |
| 57 |
<b>Properties</b>.<br/> |
47 |
<b>Properties</b>.<br/> |
| 58 |
<br/> |
48 |
<br/> |
| 59 |
In the <b>Java Build Path</b> page open the <b>Projects</b> tab, |
49 |
In the <b>Java Build Path</b> page open the <b>Libraries</b> tab, click on <b>Add External JARs</b> button.<br/> |
| 60 |
add the org.eclipse.swt project, then click <b>OK</b>. |
50 |
In the <b>Jar Selection Dialog</b> that opens, browse to the location of <b>swt.jar</b> (from the extracted folder), |
|
|
51 |
select <b>swt.jar</b>, then click <b>Open</b>. The selected jar is added to the <b>JARs and class folders under the buildpath</b> section. |
| 52 |
<br/> |
| 53 |
Click <b>OK</b>. |
| 61 |
</description> |
54 |
</description> |
| 62 |
</item> |
55 |
</item> |
| 63 |
<item title="Create a class" dialog="true" skip="false" href="/org.eclipse.jdt.doc.user/gettingStarted/qs-9.htm"> |
56 |
<item title="Create a class" dialog="true" skip="false" href="/org.eclipse.jdt.doc.user/gettingStarted/qs-9.htm"> |