Telling the Computer What to Do
Choosing a Java Programming Tool
Installing a Java Development Tool
Hour 2: Writing Your First Program
What You Need to Write Programs
Storing Information in a Variable
Compiling the Program into a Class File
Stopping by Java Boutique for Directions
Hour 4: Understanding How Java Programs Work
Sending Arguments to Applications
Part II: Learning the Basics of Programming
Hour 5: Storing and Changing Information in a Program
Storing Information in Variables
Hour 6: Using Strings to Communicate
Displaying Strings in Programs
Using Special Characters in Strings
Using Other Variables with Strings
Hour 7: Using Conditional Tests to Make Decisions
Hour 8: Repeating an Action with Loops
Part III: Working with Information in New Ways
Hour 9: Storing Information with Arrays
Counting Characters in Strings
Hour 10: Creating Your First Object
How Object-Oriented Programming Works
Building an Inheritance Hierarchy
Converting Objects and Simple Variables
Hour 11: Describing What Your Object Is Like
Creating Behavior with Methods
Putting One Class Inside Another
Using Class Methods and Variables
Hour 12: Making the Most of Existing Objects
Storing Objects of the Same Class in Vectors
Part IV: Programming a Graphical User Interface
Hour 13: Building a Simple User Interface
Swing and the Abstract Windowing Toolkit
Hour 14: Laying Out a User Interface
Hour 15: Responding to User Input
Getting Your Programs to Listen
Setting Up Components to Be Heard
Completing a Graphical Application
Hour 16: Building a Complex User Interface
Using Image Icons and Toolbars
Part V: Moving into Advanced Topics
Hour 17: Creating Interactive Web Programs
Putting an Applet on a Web Page
Sending Parameters from a Web Page
Handling Parameters in an Applet
Hour 18: Handling Errors in a Program
Throwing and Catching Exceptions
Hour 19: Creating a Threaded Program
Catching Errors as You Set Up URLs
Handling Screen Updates in the paint()
Method
Hour 20: Reading and Writing Files
Reading and Writing Configuration Properties
Part VI: Writing Internet Applications
Hour 21: Reading and Writing XML Data
Hour 22: Creating Web Services with JAX-WS
Defining a Service Endpoint Interface
Creating a Service Implementation Bean
Using Web Service Definition Language Files
Hour 23: Creating Java2D Graphics
Appendix A: Using the NetBeans Integrated Development Environment
Appendix B: Where to Go from Here: Java Resources
Appendix C: This Book’s Website
Appendix D: Setting Up an Android Development Environment
3.129.72.176