官术网_书友最值得收藏!

Creating a new project

To create a new project, click on File, then New Project, and choose Java Application:

We're going to need to give our project a distinctive name; let's call this one HelloWorld. Then, we can choose a location to put the file. Because this is our very first Java program, we should probably start from as close to scratch as possible. So let's uncheck the Create Main Class option so that NetBeans would give us pretty much a blank project. Then, click on Finish:

NetBeans will set up a filesystem for us. We can navigate this filesystem just like we were in a standard filesystem explorer:

The Source Packages file is where we'll be writing our code. You'll notice under the Libraries file that the JDK is linked, allowing us to access all of its many library resources:

主站蜘蛛池模板: 彭山县| 东乡族自治县| 桦南县| 永嘉县| 托克托县| 金门县| 太仆寺旗| 安化县| 镇康县| 江津市| 山阳县| 禄劝| 舟山市| 抚州市| 鹿邑县| 县级市| 东阿县| 安乡县| 阳信县| 丁青县| 江北区| 黑河市| 平和县| 保定市| 肃北| 滦南县| 昌邑市| 罗山县| 阳新县| 吐鲁番市| 扎鲁特旗| 阳高县| 应用必备| 中宁县| 广昌县| 兴宁市| 潍坊市| 抚州市| 镇远县| 临城县| 广汉市|