Java Project not configured for SWT [message #1402874] |
Fri, 18 July 2014 01:29  |
Eclipse User |
|
|
|
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 18:06] by Moderator
|
|
|
Re: Java Project not configured for SWT [message #1403168 is a reply to message #1402874] |
Tue, 22 July 2014 01:32  |
Eclipse User |
|
|
|
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?
|
|
|
Powered by
FUDForum. Page generated in 0.06814 seconds