SWT newbie question [message #458916] |
Tue, 26 July 2005 12:12 |
Eclipse User |
|
|
|
Originally posted by: alexander_buloichik.epam.com
Hi, All !
Sorry for stupid question, but I can't find answer on my question in the FAQ
and docs.
How can I create simple SWT application ?
I'm using Eclipse SDK 3.1(without any additional plugins) under Windows XP.
As far as I understand, I should add SWT libraries to my project(through
Properties/Java Build Path/Libraries/Add Library). But I can see only "JRE
System Library", "Plug-in Dependencies" and "User Library" lines.
When I click "Samples" on the "Welcome" screen, I downloaded SWT examples,
and can compile and run they. I see "org.eclipse.swt_3.1.0" and
"org.eclipse.swt.win32.win32.x86_3.1.0" under "Plug-in Dependencies" in the
"Library" tab.
WBR, Alex.
|
|
|
Re: SWT newbie question [message #458917 is a reply to message #458916] |
Tue, 26 July 2005 13:12 |
Eclipse User |
|
|
|
Originally posted by: BertinK.tiscali.nl
Alexander Buloichik wrote:
> Hi, All !
>
> Sorry for stupid question, but I can't find answer on my question in the FAQ
> and docs.
>
> How can I create simple SWT application ?
>
> I'm using Eclipse SDK 3.1(without any additional plugins) under Windows XP.
>
> As far as I understand, I should add SWT libraries to my project(through
> Properties/Java Build Path/Libraries/Add Library). But I can see only "JRE
> System Library", "Plug-in Dependencies" and "User Library" lines.
>
> When I click "Samples" on the "Welcome" screen, I downloaded SWT examples,
> and can compile and run they. I see "org.eclipse.swt_3.1.0" and
> "org.eclipse.swt.win32.win32.x86_3.1.0" under "Plug-in Dependencies" in the
> "Library" tab.
>
> WBR, Alex.
>
>
>
On the Java Build Path/Libraries tab I used "add external libraries" to
add the libraries. For example: org.eclipse.swt_3.1.0.jar
|
|
|
Re: SWT newbie question [message #458918 is a reply to message #458916] |
Tue, 26 July 2005 13:18 |
Eclipse User |
|
|
|
Originally posted by: s-pflug.arcor.de
Alexander Buloichik schrieb:
> Hi, All !
>
> Sorry for stupid question, but I can't find answer on my question in the FAQ
> and docs.
>
> How can I create simple SWT application ?
>
> I'm using Eclipse SDK 3.1(without any additional plugins) under Windows XP.
>
> As far as I understand, I should add SWT libraries to my project(through
> Properties/Java Build Path/Libraries/Add Library). But I can see only "JRE
> System Library", "Plug-in Dependencies" and "User Library" lines.
>
> When I click "Samples" on the "Welcome" screen, I downloaded SWT examples,
> and can compile and run they. I see "org.eclipse.swt_3.1.0" and
> "org.eclipse.swt.win32.win32.x86_3.1.0" under "Plug-in Dependencies" in the
> "Library" tab.
>
> WBR, Alex.
>
>
>
Select your project in Package Explorer, select "Properties" out of
context menu.
Select "Java Build Path | Libraries", with "Add External JARs" add the
following JARs:
"ECLIPSE_HOME/plugins/org.eclipse.osgi_3.1.0.jar"
"ECLIPSE_HOME/plugins/org.eclipse.ui.forms_3.1.0.jar"
"ECLIPSE_HOME/plugins/org.eclipse.core.runtime_3.1.0.jar"
" ECLIPSE_HOME/plugins/org.eclipse.swt.win32.win32.x86_3.1.0.j ar "
"ECLIPSE_HOME/plugins/org.eclipse.jface_3.1.0.jar"
"ECLIPSE_HOME/plugins/org.eclipse.jface.text_3.1.0.jar"
|
|
|
|
Re: SWT newbie question [message #458952 is a reply to message #458945] |
Wed, 27 July 2005 09:39 |
Eclipse User |
|
|
|
Originally posted by: s-pflug.arcor.de
augur schrieb:
> http://www.eclipse.org/downloads/download.php?file=/eclipse/ downloads/drops/R-3.1-200506271435/eclipse-SDK-3.1-win32.zip
>
> I download it from here. I can't find these jars
> you mention above,when I was in search of the
> plugins folder:
>
> ECLIPSE_HOME/plugins/org.eclipse.osgi_3.1.0.jar"
> "ECLIPSE_HOME/plugins/org.eclipse.ui.forms_3.1.0
> .jar"
> "ECLIPSE_HOME/plugins/org.eclipse.core.runtime_3
> .1.0.jar"
> "ECLIPSE_HOME/plugins/org.eclipse.swt.win32.win3
> 2.x86_3.1.0.jar"
> "ECLIPSE_HOME/plugins/org.eclipse.jface_3.1.0.ja
> r"
> "ECLIPSE_HOME/plugins/org.eclipse.jface.text_3.1
> .0.jar"
>
> But I m sure that eclipse3.0 has them.So
> confusing.
>
>
As your are using Eclipse 3.1 you wil find these JARs under your plugin
folder.
"ECLIPSE_HOME" == your eclipse installation directory
all JARs are named org.eclipse.*
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05166 seconds