Patrick Naughton, Herb Schildt - Java 2 Complete Reference.pdf
(
3880 KB
)
Pobierz
Microsoft Word - Java 2 - The Complete Reference -- Osborne McGraw-Hill.doc
Osborne/McGraw-Hill
© 1999, 1108 pages
ISBN: 0072119764
This thorough reference reads like a helpful friend. Includes
servlets, Swing, and more.
Table of Contents
Back Cover
Synopsis
by
Rebecca Rohan
Java 2: The Complete Reference
blends the expertise found in
Java 1: The
Complete Reference
with Java 2 topics such as "servlets" and "Swing." As
before, there's help with Java Beans and migrating from C++ to Java. A
special chapter gives networking basics and breaks out networking-related
classes. This book helps you master techniques by doing as well as reading.
Projects include a multi-player word game with attention paid to network
security. The book is updated where appropriate throughout, and the rhythm
of text, code, tables, and illustrations is superb. It's a valuable resource for the
developer who is elbow-deep in demanding projects.
Table of Contents
Java 2
-
The Complete Reference - 4
Part l
The Java Language
Chapter 1
-
The Genesis of Java - 9
Chapter 2
-
An Overview of Java - 20
Chapter 3
-
Data Types, Variables, and Arrays - 36
Chapter 4
-
Operators - 57
Chapter 5
-
Control Statements - 75
Chapter 6
-
Introducing Classes - 94
Chapter 7
-
A Closer Look at Methods and Classes - 111
Chapter 8
-
Inheritance - 134
Chapter 9
-
Packages and Interfaces - 156
hapter 10
-
Exception Handling - 174
Chapter 11
-
Multithreaded Programming - 188
Chapter 12
-
I/O, Applets, and Other Topics - 214
Part ll
The Java Library
Chapter 13
-
String Handling - 235
Chapter 14
-
Exploring java.lang - 255
Chapter 15
-
java.util Part 1: The Collections Framework - 297
Chapter 16
-
java.util Part 2: More Utility Classes - 343
- 2 -
Java 2: The Complete Reference
by Patrick Naughton and Herbert Schildt
Preface
- 7
Chapter 17
-
Input/Output: Exploring java.io - 362
Chapter 18
-
Networking - 397
Chapter 19
-
The Applet Class - 426
Chapter 20
-
Event Handling - 443
Chapter 21
-
Introducing the AWT: Working with Windows, Graphics, and Text - 466
Chapter 22
-
Using AWT Controls, Layout Managers, and Menus - 499
Chapter 23
-
Images - 543
Chapter 24
-
Additional Packages - 568
Part lll
Software Development Using Java
Chapter 25
-
Java Beans - 582
Chapter 26
-
A Tour of Swing - 601
Chapter 27
-
Servlets - 616
Chapter 28
-
Migrating from C++ to Java - 641
Part lV
Applying Java
Chapter 29
-
The DynamicBillboard Applet - 659
Chapter 30
-
ImageMenu: An Image-Based Web Menu - 683
Chapter 31
-
The Lavatron Applet: A Sports Arena Display - 689
Chapter 32
-
Scrabblet: A Multiplayer Word Game - 696
Appendix A
-
Using Java’s Documentation Comments - 739
Back Cover
Master Java with the most comprehensive all-in-one tutorial/reference
available, now completely updated for the Java 2 specification. Top
programming experts Patrick Naughton and Herbert Schildt show you
everything you need to know to develop, compile, debug and run Java
applications and applets. Inside you'll find a complete description of the Java
language, its class libraries, and its development environment. With clear
descriptions, hundreds of practical examples, and expert techniques, this is a
book that no Java programmer should be without. With this book, you'll:
•
Master the Java language and its core libraries
•
Create portable Java applets and applications
•
Fully utilize the Abstract Window Toolkit (AWT)
•
Supercharge your programs using multiple threads
•
Effectively apply Java's networking classes
•
Create servlets, draw images, and develop Java Beans
•
Migrate code from C++ to Java
Plus, you'll find details on new Java 2 features, including:
•
The powerful collections framework
•
The Swing component set
•
The Java threading model
•
The numerous methods, classes, and interfaces found throughout the
API
About the Authors
Patrick Naughton is currently the chief technology office for Infoseek
Corporation. He is the founding member of the original Sun Microsystems
- 3 -
project team that developed Java.
Herbert Schildt is a leading authority on C and C++, an expert on Windows,
and master at Java. He has written numerous best-selling books.
Java 2: The Complete Reference
Patrick Naughton
Herbert Schildt
Osborne/
McGraw-Hill
2600 Tenth Street
Berkeley, California 94710
U.S.A.
For information on translations or book distributors outside the U.S.A., or to arrange bulk
purchase discounts for sales promotions, premiums, or fund-raisers, please contact
Osborne/
McGraw-Hill
at the above address.
Copyright © 1999 by The McGraw-Hill Companies. All rights reserved. Printed in the
United States of America. Except as permitted under the Copyright Act of 1976, no part
of this publication may be reproduced or distributed in any form or by any means, or
stored in a database or retrieval system, without the prior written permission of the
publisher, with the exception that the program listings may be entered, stored, and
executed in a computer system, but they may not be reproduced for publication.
1234567890 AGM AGM 90198765432109
ISBN 0-07-211976-4
Publisher
Brandon A. Nordin
Associate Publisher/Editor-in-Chief
Scott Rogers
Acquisitions Editor
Megg Bonar
Project Editor
Janet Walden
Editorial Assistant
Stephane Thomas
Technical Editor
Tom Feng
- 4 -
Third Edition
Copy Editor
William McManus
Proofreader
Emily K. Wolman
Indexer
Sheryl Schildt
Computer Designer
Michelle Galicia
Jani Beckwith
Ann Sellers
Illustrator
Brian Wells
Beth Young
Information has been obtained by Osborne/
McGraw-Hill
from sources believed to be
reliable. However, because of the possibility of human or mechanical error by our
sources, Osborne/
McGraw-Hill
, or others, Osborne/
McGraw-Hill
does not guarantee the
accuracy, adequacy, or completeness of any information and is not responsible for any
errors or omissions or the results obtained from use of such information.
About the Authors
Patrick Naughton
started consulting as a software engineer in 1982, paying his way
through school and gaining a trial-by-fire perspective on the PC industry as it grew from
its infancy. After extensive experience with the X Window System from MIT, he joined
Sun Microsystems' window systems group in 1988. In late 1990, Naughton started a
secret project called "Green" in SunLabs. This small project intended to create a
completely new platform for software development that would solve many of the
problems in existing systems. The most significant technology to come out of the Green
project was Java. Naughton was instrumental in the creation and evolution of Java, from
its inception through to its revolutionary transition into the language of the Internet.
Naughton is currently the executive vice president of products for Infoseek Corporation,
and is the leader of the team that creates the groundbreaking GO Network™. Prior to
working with Infoseek, he was president and chief technology officer of Paul Allen's
Starwave Corporation, where he led the development of platform strategies, systems
software, applications, and tools to publish a suite of award-winning online services,
including ESPN.com, ABCNEWS.com, Mr. Showbiz, NBA.com, and NFL.com, among
others.
Naughton is the author of
The Java Handbook
and coauthor of
Java 1.1: The Complete
Reference
, both best-sellers from Osborne/McGraw-Hill. He holds a B.S. in computer
science from Clarkson University.
Herbert Schildt
is the world's leading programming author. His books have sold more
than two million copies worldwide and have been translated into all major foreign
languages. Herb is author of the best-sellers
C++: The Complete Reference
,
C: The
Complete Reference
,
Java Programmer's Reference
,
Teach Yourself C
,
Teach Yourself
C++,
C++ from the Ground Up
,
Windows 98 Programming from the Ground Up,
and
STL
Programming from the Ground Up.
He is also a coauthor of
C/C++ Annotated Archives
.
Herb is president of Universal Computing Laboratories, a software consulting firm in
Mahomet, Illinois. He holds a master's degree in computer science from the University of
Illinois.
Special Thanks
- 5 -
Plik z chomika:
Kapy97
Inne pliki z tego folderu:
Rick Millerand, Raffi Kasparian - Java For Artists.chm
(37965 KB)
Nell Dale, Daniel T. Joyce, Chip Weems - Object-Orientated Data Scructures using Java.pdf
(75456 KB)
William Grosso - Java RMI.pdf
(2312 KB)
William Crawford, Jonathan Kaplan - J2EE Design Patterns.chm
(1195 KB)
William Crawford, Jim Farley - Java Enterprise in a Nutshell, 3rd Edition.chm
(3270 KB)
Inne foldery tego chomika:
►Ada
►Asembler
►C#
►Cobol
►Delphi
Zgłoś jeśli
naruszono regulamin