Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Package org is not accessible(trying to use windowbuilder, but won't work)
Package org is not accessible [message #1822494] Sun, 08 March 2020 14:53 Go to next message
Matt M is currently offline Matt MFriend
Messages: 1
Registered: March 2020
Junior Member
Hello there,

I've been trying to get Windowbuilder to work for the last week. I used a guide online(can't include it, damn you).

So I installed it from the Marketplace, i didn't install the XWT Support thing that people on here were telling i should exclude.

Now I followed the tutorial and I have the problem that Eclipse is telling me that the package org is not accessible when trying to do
import org.eclipse.swt.SWT ;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;


If I try to use the Design Window it's telling me :

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/JFace Java Project. You mayalso create a plug-in project and allow PDE to manage the classpath for you.

Any ideas why it's not working ? I'm getting really frustrated here haha

~
Re: Package org is not accessible [message #1822497 is a reply to message #1822494] Sun, 08 March 2020 16:22 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33107
Registered: July 2009
Senior Member
You'd likely be best to create a PDE project because then you can easily manage the classpath by editing the MANIFEST.MF. This tutorial is recent and probably a good one:

https://www.vogella.com/tutorials/EclipsePlugin/article.html


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Have to close and open project to keep current (2019_12)
Next Topic:How to update Eclipse on MacOS Mojave?
Goto Forum:
  


Current Time: Tue Mar 19 02:06:39 GMT 2024

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

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

Back to the top