Adding SWT nature to eclipse project - java

I have exported a SWT project from eclipse under Linux and tried to import it under Windows. So far everything works fine except that I seem to have lost the "SWT nature" of the project. Running the project with the SWT gui works fine but when I try to edit the GUI source, I don't have the Source/Design/Bindings tabs below my source window and cannot do any graphical editing. Does anyone know how to fix this?

I guess you are using WindowBuilder. If this is the case, use the following:
Right click class file → Open With → WindowBuilder Editor

Related

no design view in eclipse?

I'm working on a group project with Github and Eclipse. My partner has done a lot of work on a GUI and put his work on Github and then I have imported his work through eclipse. For some reason I can not open a design view at all, theres no buttons down the bottom to switch between design and source, trying to open in windowbuilder editor just opens up the code, running the project just says "Unable to Launch, the selection can not be launched". I know I have everything installed properly because I made a test project with a GUI and it has everything above working fine. We both have same versions of everything so I'm really just not sure what to do beyond manually restarting it on my end and copying and pasting code to get it to work.
You can try: Right click in class -> Open With -> Select your design view editor
Okay, I got it to work.
I was importing it directly through eclipse > GIT > Clone. and it wasnt working. but for whatever reason when I cloned it through git onto my desktop and then imported it that way through eclipse, Import > General > Projects from folder. it worked fine.

Netbeans, Darcula not working

I have the following problem with me IDE.
I installed netbeans and proper plugin to it which is called darcula. It should change the color of the whole editor, toolbars and so on. Surprisingly it changes only the view of the place of code edition. Does annybody has some solution to it.
The version of netbeans is 8.2 and OS is Ubuntu 16.04.
You should go to Tools -> Options -> Appearance -> Look and feel and select preferred look and feel: Darcula option from the dropdown. Restart the IDE and it should work

An error opening a new project in Eclipse

I've downloaded the JDK and Eclipse and started learning how to code in Java.
All of a sudden when I try to open a new project, I get this screen saying "select a wizard" with nothing to select. It won't let me continue.
I uninstalled and re-installed the software (although it worked fine before) but the problem remained.
What can I do?
I may be wrong but ... I'd say it is just a problem of the window size. Try resizing the "New Project" dialog to show its actual content :-)
Use another perspective, for example Java, JAVA EE
go to in menu Window -> Show View -> Other and select the perspective you like
Or access menu File New Project and select one time of the project
You have downloaded a wrong version of Eclipse. You can find the right one here
https://www.eclipse.org/downloads/

Double Eclipse Icon

I have a little problem when i'm installing eclipse on my elementaryOS. In fact, this problem persists when i'm using ubuntu gnome or unity.
I have eclipse on my home folder, and I create a eclipse.desktop. The icon looks good, but when I open eclipse, another blurry icon appears (Its name is "Java - Eclipse") apart of the normal icon.
I want have only the normal icon. I read about some similar troubles with the google chrome icon but the threads can't help me.
Can anyone helps me?
Thanks in advance.
My desktop entry is on /usr/share/applications/eclipse.desktop
That's normal behavior for eclipse.exe. The icon you have on your desktop is the eclipse launcher, which is not the same as the actual eclipse IDE.
You can read more about how and why here.

Netbeans won't display web project in Projects Tab

I'm running NetBeans 7.3 on Ubuntu 12.10. I'm taking a course in Java Web Development, so I have a project called jsage8 that contains my work for the course. Previously this project was displayed in the Projects tab just fine, but now opening the project doesn't do anything. It just says "No Project Open" when I click to open it in the Open Project menu. It will however open a normal Java Project folder that isn't a web based project. Currently there's only an index.jps, a .html file, and a .css file in the project, is it not displaying because there's no .java files present?
Feeling a bit helpless here and I can't seem to google anything that addresses this specific issue so I'm wondering if I've just done something wrong?
NOTE: I can navigate to the directory the files in and open them in NetBeans manually, but the projects tab remains blank. I can even click "Run Project" and build the project and have it display in a web browser using my local Tomcat server with no issues also.
NOTE: The jsage8 project also doesn't show up in the "Recent Projects" menu whereas other projects do.
NOTE: I can even right click the index.jsp's file tab once opened in NetBeans and click "Select in Projects" which opens the prompt "Do you want to open project jsage8" I click Ok and nothing happens.
Nevermind, I ran the update for NetBeans and everything seems to be working fine now (even though just restarting it had done nothing). If you're having a problem similar to this try updating NetBeans and see if that fixes your problem.
Do you install fully features which contain Web Development plugin?
I think you forgot it already
Solution for Windows
Locate the project on your pc, once located in the folder-> properties -> security -> edit the permissions-> full control activated -> accept. After that I restarted Apache Netbeans 11.3 and I was able to open my project normally.
My problem was that I couldn't open any web application in apache netbeans.

Categories