IST 350/CSC 485

foreheadsobstinacySoftware and s/w Development

Aug 15, 2012 (4 years and 11 months ago)

283 views

IST 350/CSC 485


Lab 1

Getting Started With The NetBeans IDE


Part I

Introduction to Developing General Java Applications


This part uses an online tutorial

at
http://www.netbeans.org/kb/50/quic
kstart.html

to get
you familiar with various features the NetBeans IDE provides. Major topics include:

-

create a project

-

include resources

-

create and edit source files

-

set compilation and execution options

-

generate Javadoc documentation

-

create and execute
JUnit tests

-

uses the debugging features


Part II

Your First NetBeans Project: SwingTimerTest


This part provides an opportunity for you to use the NetBeans IDE on your own. You
will use the source code listed in

your textbook and modify it as specified bel
ow:

-

create a project stt as Standard | JavaApplication

-

change the STTMain class generated by the IDE to SwingTimerTest by using the
refactor feature

-

copy the code as given in the Lab 1 folder to replace the SwingTimerTest class

-

use the appropriate key com
bination you learned from Part I to format the code

-

compile and debug, until your project runs

o

you need to change the Java3D nano
-
time method
(J3DTime.getValue())
to System.nanoTime(), instead of importing Java3D APIs

-

set the command
-
line argument to integ
ers such as 10, 20, 50, and 100 to run your
program again, and observe how the actuate and average FPS values change

-

add a new class, STTMain to the project and move the main method to the new
class; and make changes to
get your project running again


The
purpose of this lab is to be aware of the features that are available with NetBeans. It
is due by the next class period (1/18) to be demonstrated to your instructor.