NetBeans IDE not working properly
Hello all,
I am having trouble with the NetBeans IDE. I am working on one program and when I try to run the code, the IDE compiles the code from another .java file. I ran this other program earlier and it is now closed, but it still runs the code from it and not from the .java file I want. I have tried F6, Shift+F6 and F11, all different functions I know, but I have had no luck. I have tried shutting down the IDE and restarting. I have tried shutting down the laptop and restarting. I still get the same result. I basically can't run any .java file I want to run only one I don"t want to run (this file is not even open, just sitting in the projects list). Any ideas?
Dan
Re: NetBeans IDE not working properly
Right click the class you want to run and select Run.
Just doing the run button on the tool bar will run the last executed program.
Re: NetBeans IDE not working properly
Your suggestion is a solution. Thanks for your help Tolls.