Java Project not configured for SWT [message #1402874] |
Fri, 18 July 2014 05:29 |
Floyd Chandler Messages: 1 Registered: July 2014 |
Junior Member |
|
|
OS: Linux Mint 17 64-bit
Eclipse 4.4 Luna - Standard SDK
I just installed Eclipse. Then I installed the extra software (plug-ins) for Swing, SWT, and Windowbuilder.
I selected New->Project, then selected New->Other->SWT Application Window.
Immediately I get red-box Xs in the Package Explorer on the Program folder, src folder, (default package) folder, and the Class folder.
In the import statement at the top of the Class, org.eclipse is underlined in red: import org.eclipse.swt.SWT;
In all, I get 13 errors:
Display cannot be resolved
Display cannot be resolved to a type
Shell cannot be resolved to a type
The import org.eclipse cannot be resolved
When I switch to the Design View I get a splash screen:
Java project not configured for SWT
If you wish to use SWT, please add the appropriate SWT jars to your classpath, or create a new SWT/Face Java Project...etc.
This is my first go using Eclipse, and I am doing this via a youtube video that works for the guy who made it.
What am I doing wrong?
Any and all help will be greatly appreciated.
Thanks
[Updated on: Fri, 18 July 2014 22:06] Report message to a moderator
|
|
|
Re: Java Project not configured for SWT [message #1403168 is a reply to message #1402874] |
Tue, 22 July 2014 05:32 |
|
Quote:If you wish to use SWT, please add the appropriate SWT jars to your classpath, or create a new SWT/Face Java Project...etc.
This is my first go using Eclipse, and I am doing this via a youtube video that works for the guy who made it.
1) What video?
2) Have you tried doing what it suggests?
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
Powered by
FUDForum. Page generated in 0.10456 seconds