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

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:

主站蜘蛛池模板: 郴州市| 桂平市| 平武县| 长兴县| 弋阳县| 顺昌县| 莎车县| 崇仁县| 华安县| 阿勒泰市| 会理县| 英山县| 巴彦县| 河南省| 兴海县| 永春县| 赤水市| 原平市| 松潘县| 太谷县| 定安县| 大城县| 林口县| 托克逊县| 德兴市| 洛宁县| 江门市| 洱源县| 楚雄市| 南木林县| 永靖县| 织金县| 怀化市| 栖霞市| 十堰市| 泌阳县| 应用必备| SHOW| 宁安市| 玉树县| 中牟县|