Peter Norton's Guide to Java Programming
(Imprint:SAMS.Net)
(Imprint:SAMS.Net)
Author:William Stanek
Publication Date:Aug-96
ISBN:1575210886
Chapter 1: Introducing JavaAppendix A: Java API Table ReferenceChapter 2: Getting Started with the JDK
- What Is Java?
- The Evolution of Java
- A Brief History of the Internet and the World Wide Web
- The Basics of Programming Languages
- The Logical Evolution of C to C++
- The Great Leap Forward from C/C++ to Java
- Object-Oriented Programming Concepts and Java
- Programming with Java
- Summary
Chapter 3: The Java Browser and the World Wide Web: A Primer
- The Java Developer's Environment
- Power Start for Solaris
- Power Start for Windows 95/NT
- Power Start for Macintosh
- Power Start for OS/2
- Power Start for AIX
- Making the Transition from C/C++ to Java
- Java Has No Separate Header Files
- Summary
Chapter 4: The Java Language: A Primer Chapter 5: Java Tools and the JDK: A Primer Chapter 6: Fundamentals of the Java Language Chapter 7: Building Objects
- Navigating the World Wide Web
- Using URLs
- Web Surfing with Java-Enhanced Browsers
- Web Hot Spots for Java Developers
- Third-Party Java Tools
- A Brief Tour of Live Applets on the Web
- Summary
Chapter 8: Tying It All Together: Threads, Exceptions, and More Chapter 9: Introducing the Java API
- An Introduction to Classes
- Working with Objects
- Packages
- Inheritance
- Declaring Inheritance
- Interfaces
Chapter 10: The java.lang and java.applet Class Libraries
- The Java API Packages
- The Structure of the API Packages
- Using the Java API
- API Web Reference Structure
- Constructing Code with Documentation Information
- Summary
Chapter 11: The AWT Class Library
- The java.applet.Applet Class
- The java.lang Package and Its Classes
- java.lang Exception Classes
- An Example of an Exception from java.lang-exceptions
- Summary
Chapter 12: The Java I/O and Utility Class Libraries
- Introduction to the AWT
- Using the Frame Class to Implement Application Windows
- Implementing Dialog Boxes with the Dialog Class
- Organizing Components Using the Panel and Layout Classes
- Using Common GUI Controls
- Drawing with the Canvas and Graphics Classes
- Geometrical Classes
- Using Fonts
- Image-related Classes
- Using Scrollbars
- The Toolkit Class and the Native Platform Window Implementation
- Summary
Chapter 13: The Net and Debug Class Libraries Chapter 14: Creating a Java Applet
- Introduction to the java.io Package
- How Java's I/O System Works
- Java Input Streams
- Java Output Streams
- The java.util Package
- Summary
Chapter 15: Greating Java-Powered Web Presentations with Applets
- Conceptualization and Design of the QuizMaker Applet
- Defining the Applet Structure
- Building the Applet
- The Finished Applet
- The Finished Applet
- Comparing the QuizMaker Applet with the RGB2Hex Applet
- Testing and Debugging
- Summary
Chapter 16: Applet Reuse
- Basic HTML Document Structure
- The Java Extensions to HTML
- Adding Animation to Web Documents
- Reducing Animation Flicker
- Publishing a Java Presentation on the Web
- How Does Java Compare to Other Available Products?
- Summary
Chapter 17: Creating a Stand-alone Application
- Adding Functionality to Existing Applets
- When to Reuse
- When to Rewrite
- Extending an Applet
- Testing the Extended Applet
- Summary
Chapter 18: Using Java Applications in the Real World
- How Stand-alone Applications Differ from Applets
- Conceptualization and Design of the Application
- Defining the Application Structure
- Building the Application
- The Finished Stand-alone Application
- Summary
Chapter 19: Application Upgrades
- Bigger, Better, Faster Applications
- Conceptualizing a Real-World Application
- Designing a Real-World Application
- Implementing a Real-World Application
- The Complete Project
- Testing and Debugging
- Summary
Chapter 20: Designing and Implementing Advanced Applets
- The Software Development Cycle
- Conceptualizing Application Upgrades
- Designing Application Upgrades
- Implementing Application Upgrades
- The Final Version of SlideShow
- Testing and Debugging
- Summary
Chapter 21: Designing and Implementing Advanced Applications
- Project Development and Planning
- Project Design
- The Implementation Phase
- Containers for the Objects Used in the SpreadSheet Applet
- Initializing the Primary Frame
- Determining the State of the Applet
- Running Applet Threads
- Painting the Frame
- Updating the Applet's Frame
- Handling Events in the Applet
- Updating the Current Cell's Value
- Handling Formulas
- Creating Cells
- Preparing Cells for Display
- Utility Methods
- Parsing Formulas
- Painting Cells
- Building the Node Object
- Building the Input Area
- The Complete Applet
- Putting the SpreadSheet Applet to Use
- Summary
Chapter 22: Integrating Native Programs and Libraries
- Project Development and Planning
- Project Design
- Project Implementation
- Containers for the Objects
- Building the Main Window
- Adding the Menu Bar with Pull-down Menus
- Adding the Choice Menus
- Adding the Text Area
- Adding File Objects
- Setting the Wheels in Motion
- Handling Events
- Building the Utility Functions
- Handling File I/O
- Displaying the Dialog Boxes
- Building the Dialog Boxes
- Text-Manipulation Objects
- The Complete Project
- Summary
Chapter 23: Advanced Debugging and Troubleshooting
- Why and When to Use Native Methods with Java Applications
- Using C Programs
- Using Programming Languages Other Than C
- Summary
Chapter 24: The Java Virtual Machine
- Starting the Java Debugger
- Troubleshooting the Code with the Debugger
- Identifying Trouble with the Code
- Summary
- Introducing the Virtual Machine
- The Basic Parts of the Java Virtual Machine
- Examining Bytecode
- A Walk-through of the Instruction Set
- Pushing Constants onto the Stack
- Loading Local Variables onto the Stack
- Storing Stack Values into Local Variables
- Handling Arrays
- Handling the Stack
- Performing Arithmetic
- Logical Instructions
- Handling Conversions
- Control Transfer Instructions
- Returning from Methods
- Table Jumping
- Manipulating Object Fields
- Invoking Methods
- Exception Handling
- Miscellaneous Object Operations
- Monitors
- Breaking Down the Class File Format
- Signatures
- Summary