Skip to main content



      Home
Home » Newcomers » Newcomers » SWT newbie question
SWT newbie question [message #89181] Tue, 26 July 2005 04:37 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 #89226 is a reply to message #89181] Tue, 26 July 2005 09:13 Go to previous message
Eclipse UserFriend
Originally posted by: hcs33.egon.gyaloglo.hu

Hi,

Afaik you have to use the 'Add external JARs' button and add
{eclipse_install}/plugins/org.eclipse.swt.win32.win32.x86_3. 1.0.jar to the
java build path.
For running your class you should use Run As > SWT Application.

HTH,
Regards,
Csaba

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.
Re: SWT newbie question [message #89376 is a reply to message #89181] Tue, 26 July 2005 03:51 Go to previous message
Eclipse UserFriend
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.
>

Hello Alex,

There is a free SWT Gui builder at www.instantiations.com that sets up
an SWT application and has support for a variety of widgets. The free
version doesnt have all the stuff you get with the paid for version but
will give you a good start.

- Jim
Previous Topic:End of Word navigation/selection annoyances
Next Topic:Syntax highlighting
Goto Forum:
  


Current Time: Mon Jun 09 16:40:59 EDT 2025

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

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

Back to the top