Thursday, February 14, 2008

***(1)Setting Up the Project

Start NetBeans IDE.
In the IDE, choose File > New Project
In the New Project wizard, select Java Application
Then click Next.
In the Name and Location page of the wizard, do the following
In the Project Name field, type HelloWorldApp.
In the Create Main Class field, type helloworldapp.HelloWorldApp
Leave the Set as Main Project checkbox selected.


// TODO code application logic here


* Save the change by choosing File > Save.

* Compiling the Source File--F11
To compile your source file, choose Build > Build Main Project from the IDE's main menu.

* Running the Program--F6
From the IDE's menu bar, choose Run > Run Main Project.

No comments: