NetBeansTutorial.v2551.Spring2010

NetBeansTutorial.v2551.Spring2010 - Using NetBeans 6.7.1 to...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Using NetBeans 6.7.1 to Create and Run a Java Application (Updated 29 Dec 2009) NetBeans is an open source IDE (integrated development environment) available to programmers who want to develop Java projects. Since it is an IDE, the tools needed for editing, compiling, building, debugging, executing, and obtaining online help are all integrated in one graphical user interface. Using these tools effectively can greatly increase your productivity. Please see the link on my web page to download the latest version of NetBeans 6.7.1 bundled with the latest Java, Java 6. You must download these and install them prior to running this tutorial. 1. Start NetBeans by selecting NetBeans IDE 6.7 from the Start menu or by double-clicking the desktop shortcut (recommended). If you get a registration box option, you may register, if you like (I did). But then you should see a screen that looks like this: 2. There is a lot of useful information on these links. To get rid of the Start Page, click on the X as shown via arrow. You will see the following screen.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
3. You will want at least a files pane and a projects pan. You may select these by clicking on them in the drop down box under Window in the menu bar. This will give you a screen that looks like this:
Background image of page 2
1 4. Most activities in NetBeans are considered ‘projects,’ as all your programming efforts will end up being projects. 5. Under the File menu, select New Project. You will see this New Project Window in the middle of the NetBeans 6.7 Window 2 3 Before starting, you should create a folder on your desktop entitled COP2551. Each lab project this semester will be entitled, projectiyouruserid , where i is the number of the project. For example, your first project would be entitled: project1jsmith. Project1 should be a subfolder within your COP2551 folder. Each project you develop will be located in a different subfolder within COP2551, such as project2jsmith, etc. 1 To continue working on a project that was begun earlier (you will see a list as you develop projects) , simple click on the desired project in the Project window and continue development. You must also ensure that the project you are working on is the Main Project, and there can be only one Main project (more later on this). 6. New Application: To create and run a new Java application you must first create a project. In the following exercise we will be creating a project named projectiyouruserid . Now, select JavaApplication from the New Project window, and then click the Next button below. (If you wanted to develop Applets, you would select Java Class Library) (Also: select some of the other options and note the Descriptions below.)
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
0 0 1 2 You will need to make a few changes to the New Java Application Window that will appear:
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 07/26/2011 for the course COP 2551 taught by Professor Roggio,r during the Summer '08 term at UNF.

Page1 / 12

NetBeansTutorial.v2551.Spring2010 - Using NetBeans 6.7.1 to...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online