import org.eclipse.swt.widgets.Display (?)

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

import org.eclipse.swt.widgets.Display (?)

Postby pstav123 » Tue Oct 07, 2003 7:24 am

I have installed SWT Disigner, but code genrated with the system requires imports of SWT packages. This is from a vergin install. When I try to make a simple SWT Application. I get the following unreferenced packages.

import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;

The only swt.jar file I see is in this directory:

./plugins/org.eclipse.swt.gtk_3.0.0/ws/gtk/swt.jar

Do I need to reference this file in the build / run path? Are there others I need to reference? Shouldn't the install take care of this?

I'd poke around referencing the files, but I am trying to get help refine the install procedure..

Thanks,

--paul
pstav123
 
Posts: 8
Joined: Fri Oct 03, 2003 6:41 am

Postby Eric Clayberg » Tue Oct 07, 2003 9:44 am

I have installed SWT Disigner, but code genrated with the system requires imports of SWT packages.


Yes. This is described in the SWT Designer docs.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

import org.eclipse.swt.widgets.Display (?)

Postby pstav123 » Tue Oct 07, 2003 9:58 am

Eric,

Thanks. So they are. RFM I guess. I saw the simple statements on the 'Prerequisites' portion of your web site and did not continues with the PDF docs.

Hopefully, I'll be able to purchase your product shortly.


Thanks,

--paul
pstav123
 
Posts: 8
Joined: Fri Oct 03, 2003 6:41 am


Return to SWT Designer

Who is online

Users browsing this forum: Google [Bot] and 1 guest