Buying Options
Learning Java
Safari Books Online
Add to Cart
What is this?

Product Editions

Please consider the latest edition.

  1. Learning Java, Third Edition - May 2005
  2. Learning Java, Second Edition - July 2002
  3. Learning Java - May 2000
Description
For programmers either just migrating to Java or already working steadily in the forefront of Java development, Learning Java gives a clear, systematic overview of the Java 2 Standard Edition. It covers the essentials of hot topics like Swing and JFC; describes new tools for signing applets; and shows how to write networked clients and servers, servlets, JavaBeans, and state-of-the-art user interfaces. Includes a CD-ROM with example code and JBuilder for Windows and Solaris.
Full Description
Table of Contents
  1. Chapter 1 Yet Another Language?

    1. Enter Java

    2. A Virtual Machine

    3. Java Compared with Other Languages

    4. Safety of Design

    5. Safety of Implementation

    6. Application and User-Level Security

    7. Java and the World Wide Web

    8. Java as a General Application Language

    9. A Java Road Map

  2. Chapter 2 A First Application

    1. HelloJava1

    2. HelloJava2: The Sequel

    3. HelloJava3: The Button Strikes!

    4. HelloJava4: Netscape's Revenge

  3. Chapter 3 Tools of the Trade

    1. The Java Interpreter

    2. Policy Files

    3. The Class Path

    4. The Java Compiler

    5. Java Archive (JAR) Files

  4. Chapter 4 The Java Language

    1. Text Encoding

    2. Comments

    3. Types

    4. Statements and Expressions

    5. Exceptions

    6. Arrays

  5. Chapter 5 Objects in Java

    1. Classes

    2. Methods

    3. Object Creation

    4. Object Destruction

  6. Chapter 6 Relationships Among Classes

    1. Subclassing and Inheritance

    2. Interfaces

    3. Packages and Compilation Units

    4. Visibility of Variables and Methods

    5. Arrays and the Class Hierarchy

    6. Inner Classes

  7. Chapter 7 Working with Objects and Classes

    1. The Object Class

    2. The Class Class

    3. Reflection

  8. Chapter 8 Threads

    1. Introducing Threads

    2. Threads in Applets

    3. Synchronization

    4. Scheduling and Priority

    5. Thread Groups

  9. Chapter 9 Basic Utility Classes

    1. Strings

    2. Math Utilities

    3. Dates

    4. Timers

    5. Collections

    6. Properties

    7. The Security Manager

    8. Internationalization

  10. Chapter 10 Input/Output Facilities

    1. Streams

    2. Files

    3. Serialization

    4. Data Compression

  11. Chapter 11 Network Programming with Sockets and RMI

    1. Sockets

    2. Datagram Sockets

    3. Simple Serialized Object Protocols

    4. Remote Method Invocation (RMI)

  12. Chapter 12 Programming for the Web

    1. Uniform Resource Locators (URLs)

    2. The URL Class

    3. Web Browsers and Handlers

    4. Talking to CGI Programs and Servlets

    5. Implementing Servlets

  13. Chapter 13 Swing

    1. Components

    2. Containers

    3. Events

    4. Event Summary

    5. Multithreading in Swing

  14. Chapter 14 Using Swing Components

    1. Buttons and Labels

    2. Checkboxes and Radio Buttons

    3. Lists and Combo Boxes

    4. Borders

    5. Menus

    6. The PopupMenu Class

    7. The JScrollPane Class

    8. The JSplitPane Class

    9. The JTabbedPane Class

    10. Scrollbars and Sliders

    11. Dialogs

  15. Chapter 15 More Swing Components

    1. Text Components

    2. Trees

    3. Tables

    4. Desktops

    5. Pluggable Look-and-Feel

    6. Creating Custom Components

  16. Chapter 16 Layout Managers

    1. FlowLayout

    2. GridLayout

    3. BorderLayout

    4. BoxLayout

    5. CardLayout

    6. GridBagLayout

    7. Nonstandard Layout Managers

    8. Absolute Positioning

  17. Chapter 17 Drawing with the 2D API

    1. The Big Picture

    2. The Rendering Pipeline

    3. A Quick Tour of Java 2D

    4. Filling Shapes

    5. Stroking Shape Outlines

    6. Using Fonts

    7. Displaying Images

    8. Using Drawing Techniques

    9. Printing

  18. Chapter 18 Working with Images and Other Media

    1. Implementing an ImageObserver

    2. Using a MediaTracker

    3. Producing Image Data

    4. Filtering Image Data

    5. Working with Audio

    6. Working with Movies

  19. Chapter 19 Java Beans

    1. What's a Bean?

    2. Building Beans

    3. Hand-Coding with Beans

    4. Putting Reflection to Work

    5. BeanContext and BeanContextServices

    6. The Java Activation Framework

    7. Enterprise JavaBeans

  20. Chapter 20 Applets

    1. The JApplet Class

    2. The <APPLET> Tag

    3. Using the Java Plug-in

    4. Using Digital Signatures

  21. Chapter 20 Glossary

  1. Appendix A Content and Protocol Handlers

    1. Writing a Content Handler

    2. Writing a Protocol Handler

  2. Appendix B BeanShell: Simple Java Scripting

    1. Running BeanShell

    2. Java Statements and Expressions

    3. BeanShell Commands

    4. Scripted Methods and Objects

    5. Learning More . . .

  3. Colophon

View Full Table of Contents
Product Details
Title:
Learning Java
By:
Jonathan Knudsen, Patrick Niemeyer
Publisher:
O'Reilly Media
Formats:
  • Print
  • Safari Books Online
Print Release:
May 2000
Pages:
726
Print ISBN:
978-1-56592-718-6
| ISBN 10:
1-56592-718-4
Customer Reviews
About the Author
  1. Jonathan Knudsen

    Jonathan Knudsen is an author at O'Reilly & Associates. His books include The Unofficial Guide to Lego Mindstorms Robots, Java 2D Graphics, and Java Cryptography. He is the Courseware Writer for LearningPatterns.com.

    View Jonathan Knudsen's full profile page.

Colophon

Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animals on the cover of Learning Java, are a Bengal tigress and her cubs. The Bengal tiger (Panthera tigris) lives in Southern Asia where it has been hunted practically to extinction principally for its bone, which is reputed to have medicinal value. It now lives mostly in natural preserves and national parks where it is strictly protected. It's estimated that there are less than 3,000 Bengal tigers left in the wild.

The Bengal tiger is reddish orange with narrow black, gray, or brown stripes, generally in a vertical direction. Males can grow to nine feet long and weigh as much as 500 pounds; they are the largest existing members of the cat family. Preferred habitats include dense thickets, long grass, or tamarisk shrubs along river banks. Maximum longevity can be 26 years but is usually only about 15 years in the wild.

Tigers most commonly conceive after the monsoon rains; the majority of cubs are born between February and May after a gestation of three and a half months. Females bear single litters every two to three years. Cubs weigh under three pounds at birth and are striped. Litters consist of one to four cubs, with occasionally as many as six, but it's unusual for more than two or three to survive. Cubs are weaned at four to six months but depend on their mother for food and protection for another two years. Female tigers are mature at three to four years, males at four to five years. Their white ear spots may help mothers and cubs to keep track of each other in the dim forests at night. Nicole Arigo was the production editor for Learning Java. Nancy Kotary was the copyeditor, and Norma Emory proofread the book. Darren Kelly, Colleen Gorman, and Jane Ellin provided quality control. Ellen Troutman wrote the index. This colophon was compiled by Mary Anne Weeks Mayo.

Hanna Dyer designed the cover of this book, based on a series design by Edie Freedman. The cover image is an original engraving from the book Forest and Jungle: An Illustrated History of the Animal Kingdom by P.T. Barnum (1899). Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font. David Futato designed the CD-ROM label.

Alicia Cech designed the interior layout based on a series design by Nancy Priest. The heading font is Bodoni BT; the text font is New Baskerville. Mike Sierra implemented the design in FrameMaker 5.5. The illustrations that appear in the book were produced by Robert Romano and Rhon Porter using Macromedia FreeHand 8 and Adobe Photoshop 5.

Whenever possible, our books use RepKover(TM), a durable and flexible lay-flat binding. If the page count exceeds RepKover¹s limit, perfect binding is used.

  • Book cover of Learning Java