开发者

Running a project in NetBeans?

开发者 https://www.devze.com 2023-02-25 06:06 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消