[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.rcp] swt.widgets.Composite not resolved
|
- From: epsobolik@xxxxxxx (Phil Sobolik)
- Date: Mon, 21 Apr 2008 21:04:03 +0000 (UTC)
- Newsgroups: eclipse.platform.rcp
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
I'm a little new to Java, so please bear with me.
I've been going through McAffer and Lemieux book 'Eclipse Rich Client
Platform' (Addison-Wesley). It says it covers Eclipse SDK 3.1. My
problem is that I've been faithfully updating Eclipse to the point where
the code in the book doesn't work. I'm up to 3.3.2. I've managed to get
most of it going except for one - one module has:
import org.eclipse.swt.widgets.Composite;
The error is that it can't be resolved
If I re-type the line so that the auto-complete list comes up, swt is the
first one that it can't find. Even though the line before it is:
import org.eclipse.swt.*;
and there isn't an error on that line.
org.eclipse.swt(3.3.2.v3347) is in the dependency hierarchy (and
org.eclipse.swt.carbon.macosx(3.3.2.v3347a)). There are no version
constraints on the required plug-ins. So, what gives? How come Eclipse
can see swt?
Phil