ISYE 7210--Simulation of Real-Time Systems Fall 2005 NetBeans 4.1 Notes on IDE - PowerPoint PPT Presentation

1 / 12
About This Presentation
Title:

ISYE 7210--Simulation of Real-Time Systems Fall 2005 NetBeans 4.1 Notes on IDE

Description:

1. ISYE 7210--Simulation of Real-Time Systems. Fall 2005. NetBeans 4.1. Notes on IDE & GUI Development. 7210 Class Web site: www. ... Typical Use of NetBeans 4.1 ... – PowerPoint PPT presentation

Number of Views:17
Avg rating:3.0/5.0
Slides: 13
Provided by: CHRISTINE
Category:

less

Transcript and Presenter's Notes

Title: ISYE 7210--Simulation of Real-Time Systems Fall 2005 NetBeans 4.1 Notes on IDE


1
ISYE 7210--Simulation of Real-Time Systems
Fall 2005 NetBeans 4.1 Notes on IDE GUI
Development7210 Class Web site
www.chmsr.gatech.edu/ISyE7210/ Horstmann
Cornel (7th ed) Download Web site
www.horstmann.com/corejava.html
  • Christine M. Mitchell
  • Center for Human-Machine Systems Research (chmsr)
  • School of Industrial and Systems Engineering
  • (chmsr lab) ISyE Main, Room 426, 404 385-0363
  • (office) ISyE Groseclose, Room 334, 404 894-4321
  • cm_at_chmsr.gatech.edu

2
Create a New Project ExamplesNB (p. 1/2)
  • See Using NetBeans IDE 4.1
  • http//www.netbeans.org/kb/41/using-netbeans/index
    .html
  • There is a PDF version on the class Web site
  • Create a New Project
  • Filegt New Project (upper tool bar)
  • See figure on right
  • Categories General
  • Projects Java Application gt Next

3
Create a New Project ExamplesNB (p. 2/2)
  • Using New Java Application panel
  • Project Name ExamplesNB
  • Location C\7210\ExamplesNB
  • Deselect (1) set as main (2) create main
    class
  • gt Finish

4
View New Project, ExamplesNB, Create New Java
Class within Project
  • See new project, ExamplesNB, in Projects Pane
  • Right click on project name ExamplesNB

5
Create New Java Class within Project ExamplesNB
  • Right click on project name ExamplesNB (figure
    on previous page)
  • Select New gt Java Class
  • See New Java Class Window (figure)
  • Class name FirstClass
  • Do not enter any more information in this panel
    (figure)
  • Finish

6
Change Class/Package Name(p. 1/2)TestLL to
TestLinkedList, in Project ExamplesNB
  • Double click on project name ExamplesNB
  • Double click on Source Packages
  • Right click on TestLL package (figure)

7
Change Class/Package Name(p. 2/3)TestLL to
TestLinkedList, in Project ExamplesNB
  • Change package name to TestLinkedList
  • Select Refractor gt Rename
  • View Rename window

8
Change Class/Package Name(p. 3/3)TestLL to
TestLinkedList, in Project ExamplesNB
  • Change package name to TestLinkedList (contd)
  • Enter New Name TestLinkedList
  • Check Apply Rename on Comments
  • Check Preview All Chages
  • Next gt Do Refractoring

9
Create a Another Class, FirstClass, in Project
SampleGUI (p. 1/3)
  • Open project double click on SampleGUI
  • Right click (Project Panel) on ltdefault packagegt

10
Create a Another Class, FirstClass, in Project
SampleGUI (p. 2/3)
  • New gt Java Class
  • Class Name FirstClass
  • Change location, if necessary
  • Finish

11
Create a Another Class, FirstClass, in Project
SampleGUI (p. 3/3)
  • View NetBean window with
  • Project ExamplesNB
  • NewClass NewClass.java

12
Typical Use of NetBeans 4.1
  • Add a new package e.g. a class assignment
    RNG1, to ExamplesNB project
  • Put existing .java files in a folder RNG1
  • Put RNG1 in the NetBeans project folder
  • Paste RNG1 into ExamplesNB\src
  • Open existing project ExamplesNB
  • Double click on project name (figure Project
    Panel)
  • Double click on Source Packages
  • Find the package RNG1
  • Double click on RNG1 package to see Java source
    files
  • Resume coding
Write a Comment
User Comments (0)
About PowerShow.com