NetBeansTutorial.v2551.Spring2011

NetBeansTutorial.v25 - Using NetBeans to Create and Run a Java Application(Updated 27 Jan 2011 Project 0 is due by 2:30pm on 7 July(10 points

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

View Full Document Right Arrow Icon
Using NetBeans to Create and Run a Java Application (Updated 27 Jan 2011) Project 0 is due by 2:30pm on 7 July (10 points) Please note that the procedure below applies to your home / personal computer. In the third-floor lab, the procedure is somewhat different, since the School of Computing’s (SOC) computers are not your own. We will show the difference between the procedure below (for your home computer) and the SOC’s lab computers on our lab day – announced in class. 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.9 bundled with the latest Java, Java 6 update 20. You must first download this bundle and then install it prior to running this tutorial. (Netbeans 7.0 may be available; if so, use it.) 1. Start NetBeans by selecting NetBeans IDE 6.9 (or similar version) 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.
Background image of page 1

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

View Full DocumentRight Arrow Icon
You will see the following screen.
Background image of page 2
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 above. You can hide the Services pane if desired by clicking on it and then deleting it by selecting the X in the tab. You will get the following:
Background image of page 3

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

View Full DocumentRight Arrow Icon
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.8 Window
Background image of page 4
1 2 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).
Background image of page 5

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

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/04/2011 for the course COP 3540 taught by Professor Bobroggio during the Fall '11 term at University of South Florida - Tampa.

Page1 / 15

NetBeansTutorial.v25 - Using NetBeans to Create and Run a Java Application(Updated 27 Jan 2011 Project 0 is due by 2:30pm on 7 July(10 points

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

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