Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Java Project not configured for SWT(SWT not showing up!)
Java Project not configured for SWT [message #1402874] Fri, 18 July 2014 05:29 Go to next message
Floyd Chandler is currently offline Floyd ChandlerFriend
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 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3510
Registered: July 2009
Senior Member

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
Previous Topic:Failed to create Ole Client
Next Topic:Sms Sender
Goto Forum:
  


Current Time: Mon Oct 14 18:27:14 GMT 2019

Powered by FUDForum. Page generated in 0.03333 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top