SWT newbie question [message #458916] |
Tue, 26 July 2005 08: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 #458918 is a reply to message #458916] |
Tue, 26 July 2005 09: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 #459295 is a reply to message #458979] |
Thu, 04 August 2005 23:27  |
Eclipse User |
|
|
|
They are in C:\eclipse_3.1\plugins truely.
:),more convinient than before as for writing
ant file.
--
--
--
Thanks in Advance...
Augur, QunShun, ShangHai, China
____________________________________________________________ ______________
' If there is one, Knowledge is the "Fountain of
Youth"'
-William E. Taylor, Regular Guy (1952-)
|
|
|
Powered by
FUDForum. Page generated in 0.04306 seconds