Textbook and Software Review
Materials In Use in the University System of Georgia
1. Walkthrough of AACCD website
http://turing.gcsu.edu/~aaccd
2. Language/Text Survey and Annotated Bibliographies
3. Development tools - demonstration and tutorials
CodeLab, TextPad, DrJava, BlueJay
CodeLab
www.turingscraft.com
(interactive exercises for students )
a. Register as faculty at this site
b. Site familiarization
c. Completion of sample exercises and real-time
feedback
TextPad (traditional development environment
for command line utilities)
a. Starting the application and familiarization with
features
b. Configuration procedure for Java support
c. Editing, compiling and execution of sample Java
program
(Copy and paste the following code into a new document in TextPad and save it as
Hello.java)
/**
* Class Hello:
*
* Hello-world program to demonstrate BlueJ.
*/
class Hello
{
/**
* Method that does the work
*/
public void go()
{
System.out.println("Hello, world!");
}
/**
* main method for testing outside BlueJ
*/
public static void main(String[] args)
{
Hello hi = new Hello();
hi.go();
}
}
Compile the application using the Javac selection under the Tools menu. The application is executed with the Java option under Tools.
DrJava (non-object oriented)
a. Starting the application and familiarization with
features
b. Editing, compiling and execution of sample Java program
Copy and paste the previous program
into the editor panel
Select the "Compile All" menu option
Under the "Tools" menu option, select
"Run
Document's Main Method"
c. Using the Debugger
Set a
breakpoint at the desired line
Run the
Document's Main Method
Single step
through the application
BlueJay (object oriented)
a. Starting the application and familiarization with
features
b. Open the People project from the
examples
subfolder of the BlueJay folder
c. Examine source code of all classes -
Database, Person, Staff, and Student
d. Create objects of type Database, Staff, and Student
Right click
on the graphic and select a constructor
e. Add Staff and Student objects to the Database Object
Right click
on the Database Object and execute the
addPerson()
method. Enter the Staff or Student
object
name in the dialog box that appears during execution
f. Execute the Database object's listAll() method.
g. Modify Staff or Student object's private information
Use the
"inherited from Object" methods