Reputation: 15551
I am trying to still solve my other issue, but arguably this side problem is a separate topic, so I am posting this request separately.
I downloaded "Eclipse IDE for Java Developers" from the Eclipse website (Kepler, Windows, 64-bit). I placed the contents into a folder, "C:\Program Files\Development\Tools\Eclipse", and proceeded to install SWT. I went to "Menu > Help > Install New Software..." and entered kepler. I then went to 'General Productivity Tools' and selected the SWT components. After restarting, I had SWT installed.
I then went to "Menu > File > New > Other... > WindowBuilder > SWT Designer > SWT > Application Window" and clicked on next. That yields the following image. My OS is Windows 7 64-bit.
The folder exists just fine. Forward slashes or backwards slashes, no slashes, browse, whatever, I tried it all, and the error is the same. How can I bypass this error?
Am I looking at a bug with the 64-bit Eclipse? I did try restarting my computer, and the installation is fresh.
Upvotes: 1
Views: 4766
Reputation: 15551
The following might be obvious to experienced uses, but not to newbies like me and there is no single location that I found that spells out how to create a project, so here are the instructions.
NEW SWT PROJECT INSTRUCTIONS (applies to other types too, concept is here)
Note: The folder is relative, not absolute.
Follow these steps.
Go to "Menu > File > New > Project...". Create a new project. Follow the prompts.
Go to "Menu > File > New > Other..." and select "WindowBuilder > SWT Designer > SWT > Application Window", click on the next button.
The Source folder text box now comes pre-populated to the project name along with the src subfolder. The package name is also there. Enter the name and click on finish.
You cannot create a new SWT application window project directly. That was the problem. You must create a "Menu > File > New > Project..." project first. Sadly, the names project are identical and different meanings.
Oh yes, you must install the SWT jar into the build path libraries (external jar) too.
Start the development work.
Upvotes: 2