SWT import problems [message #809426] |
Tue, 28 February 2012 16:34  |
Eclipse User |
|
|
|
I have followed the steps of the cheat sheet, specifically 'Import the
SWT project'; this results in my choosing 'org.eclipse.swt' - I note
that there is no {platform}.{os}.{arch} as the cheat sheet says. This is
probably wrong and the source of type errors in the subsequent step of
creating a Java Project.
While focus is on the org.eclipse.swt project, I create a new java
project - I am surprised that this is not created under
'org.eclipse.swt' project, but a new java project is created (with the
name 'HelloWorldSWT;), I continue with the next step of configuring the
java project and specifying the Java Build Path where I add
'org.eclipse.swt' and click Ok.
I continue with the next step of creating a class HelloWorldSWT with
main method contents as suggested by the sheet.
I notice that 'Display' and 'Shell' are not defined.
As suggested I use the 'source.'organise imports' to no avail
What am I doing wrong or failing to do.
The particulars of my installation:
Eclipse SDK
Version: 3.7.1
Build id: M20110909-1335
(c) Copyright Eclipse contributors and others 2000, 2011. All rights
reserved.
Visit 'url of eclipse.org'
This product includes software developed by the
Apache Software Foundation 'url of apache'
I have also added scala, javascript, and groovy
Thanks
|
|
|
|
Re: SWT import problems [message #809536 is a reply to message #809426] |
Tue, 28 February 2012 20:01  |
Eclipse User |
|
|
|
Quote:I have followed the steps of the cheat sheet, specifically 'Import the
SWT project'; this results in my choosing 'org.eclipse.swt' - I note
that there is no {platform}.{os}.{arch} as the cheat sheet says. This is
probably wrong and the source of type errors in the subsequent step of
creating a Java Project.
Yes it is. It is not named {platform}.{os}.{arch}
but win32.win32.x86
or linux.linux.x86_64
Or simmilar. It is explained in the cheat sheet.
Regards,
Wim Jongman
|
|
|
Powered by
FUDForum. Page generated in 0.06719 seconds