M
Mr. Kite
I just started using NetBeans, and have seen two weird behaviors:
#1 Even though I have a specific class identified as the Project's main
class, if I have a non-main class at the front in the editor and click
the "Execute" arrow button to Compile/Run, the program won't run
properly. If I just switch focus in the Source Editor to the main class
and click run, it works fine.
#2 Sometimes I'll make changes to a class in the Source Editor, but
when I run it, the older (unchanged) version is used. If I make some
more changes, delete them, save the project, open and close the
project, and say some spells, and then click "Execute" again, it now
will work. This seems to happen totally at random.
What am I doing wrong?
Thanks for any help.
#1 Even though I have a specific class identified as the Project's main
class, if I have a non-main class at the front in the editor and click
the "Execute" arrow button to Compile/Run, the program won't run
properly. If I just switch focus in the Source Editor to the main class
and click run, it works fine.
#2 Sometimes I'll make changes to a class in the Source Editor, but
when I run it, the older (unchanged) version is used. If I make some
more changes, delete them, save the project, open and close the
project, and say some spells, and then click "Execute" again, it now
will work. This seems to happen totally at random.
What am I doing wrong?
Thanks for any help.