Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT newbie question
SWT newbie question [message #458916] Tue, 26 July 2005 12:12 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 #458945 is a reply to message #458918] Wed, 27 July 2005 01:04 Go to previous messageGo to next message
augur is currently offline augurFriend
Messages: 25
Registered: July 2009
Junior Member
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.


--
--

--


Thanks in Advance...
Augur, QunShun, ShangHai, China
________________________________________________
__________________________

' If there is one, Knowledge is the "Fountain of
Youth"'
-William E. Taylor, Regular Guy (1952-)
Re: SWT newbie question [message #458952 is a reply to message #458945] Wed, 27 July 2005 09:39 Go to previous messageGo to next message
Eclipse UserFriend
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.*
Re: SWT newbie question [message #458979 is a reply to message #458952] Thu, 28 July 2005 03:43 Go to previous messageGo to next message
augur is currently offline augurFriend
Messages: 25
Registered: July 2009
Junior Member
Only I can find their source code at the path of
C:\eclipse_3.1\plugins\org.eclipse.rcp.source_3.
1.0\src\org.eclipse.jface_3.1.0\src.zip.
Is it a download bug?
I downloaded it from a mirror -
http://www.eclipse.org/downloads/download.php?file=/eclipse/ downloads/drops/R-3.1-200506271435/eclipse-SDK-3.1-win32.zip &url=http://eclipse.cdpa.nsysu.edu.tw/downloads/drops/R- 3.1-200506271435/eclipse-SDK-3.1-win32.zip&mirror_id=40
--
--

--


Thanks in Advance...
Augur, QunShun, ShangHai, China
________________________________________________
__________________________

' If there is one, Knowledge is the "Fountain of
Youth"'
-William E. Taylor, Regular Guy (1952-)
Re: SWT newbie question [message #459295 is a reply to message #458979] Fri, 05 August 2005 03:27 Go to previous message
augur is currently offline augurFriend
Messages: 25
Registered: July 2009
Junior Member
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-)
Previous Topic:SwingWorker equivalent in SWT
Next Topic:May I make checkbox of table read_only?
Goto Forum:
  


Current Time: Tue Oct 27 14:54:59 GMT 2020

Powered by FUDForum. Page generated in 0.06634 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top