In Ecli开发者_StackOverflow社区pse, running a project is as simple as clicking the run button.
In NetBeans, I'm totally confused. How do I run the program? If I print something, where does it go (e.g. the console in Eclipse)?
Thanks!
EDIT: Solved it. For some reason it was running a different application than the one I had selected. Anyone know why?
It's the same in NetBeans, just klick the "Run" button (you need to have a main class defined though)
The output goes into the "Output" window which is displayed at the bottom of the editor by default.
If you don't see the output window, you can display it using the menu "Window -> Output -> Output"
In the menu, see Run > Run to run a project.
On the bottom right, find the output windows, that's where the print will appear.
精彩评论