Book description
7966F-4
Graphic Java 2 is the most comprehensive guide to the Java Foundation Classes (JFC) available. Three volumes cover all aspects of the JFC providing java developers with the skills needed to build professional, cross platform applications that take full advantage of the Java Foundation Classes.
The AWT is the cornerstone of the Java Foundation Classes. Volume 1 provides detailed descriptions of every aspect of the AWT, including:
Event Handling
Layout Managers
Graphics, Colors & Fonts
Image Manipulation
Lightweight Components
Data Transfer & Drag and Drop
Double Buffering
Sprite Animation
Java expert David Geary provides clear and in-depth explanations of both fundamental and advanced AWT concepts. The layout manager chapter, for example, is over 100 pages long and includes what readers have called the best explanation of GridBagLayout on the planet. A GridBagLab application on the CD lets you explore GridBagLayout on your own.
The accompanying CD-ROM includes all of the example code from the book, ready to run on Solaris(tm), Windows 95, Windows NT, and Macintosh along with the JDK(tm) for those platforms.
Table of contents
- Copyright
- Preface
- Acknowledgments
- Introduction: The Java Foundation Classes, The AWT, Applets, and Applications
-
Graphics and Images
- Graphics
- Colors and Fonts
-
Loading and Displaying Images
- The Image Class and the Image Package
- Image Producers and Image Observers
- Loading and Displaying Images
- Differences Between Applets and Applications
- Waiting for an Image to Load
- Painting Images a Scanline at a Time
- MediaTracker
- Animated GIFS
- AWT Components as Image Observers
- Creating Images
- Loading Images as Resources
- Summary
-
Image Filtering
- The ImageProducer Interface
- The ImageConsumer Interface
- How Image Producers and Image Consumers Interact
- AWT Image Filters
- ImageConsumer Properties
- Implementing Custom Image Filters
- Extending RGBImageFilter
- Extending ImageFilter
- Implementing the ImageConsumer Interface
- An Introduction to Double Buffering
- Summary
- Image Manipulation Without Filtering
-
Events and Layout Management
- Inheritance-Based Event Handling (AWT 1.02 and Before)
-
The Delegation Event Model (AWT 1.1 and Beyond)
- The Delegation Event Model
- The Big Picture
- AWT Adapters
- Component Events
- Semantic Events
- Event Adapters
- Inner Classes
- Firing AWT Events from Custom Components
- Firing Custom Events from Custom Components
- Dispatching Events and the AWT Event Queue
- Active Events
- Inheritance-Based Mechanism
- Event Handling Design
- Summary
- Components, Containers, and Layout Managers
-
AWT Components
-
The AWT Component Class
- Components
- java.awt.Component
- Component Properties
- Deprecated Methods
- Component Location, Bounds, and Coordinates
- Component Preferred, Minimum, and Maximum Sizes
- Component Visibility and Responsiveness
- Components and Peers
- Rendering Components
- Components and Zorder
- Components and Cursors
- Components and Serialization
- Components and Internationalization
- Components and JavaBeans
- Components and Tree Locking
- Summary
- Basic Components: Labels, Buttons, Canvases, and Panels
- Item Selectables: Checkboxes, Choices, and Lists
- Text Components
- Scrolling: Scrollbars and Scrollpanes
- Windows, Frames, and Dialogs
- Menus
- Mouseless Operation and Printing
- Lightweight Components
-
The AWT Component Class
- Advanced Topics
Product information
- Title: Graphic Java™ 1.2, Volume I: AWT, Third Edition
- Author(s):
- Release date: September 1998
- Publisher(s): Pearson
- ISBN: 9780130796660
You might also like
book
Filthy Rich Clients: Developing Animated and Graphical Effects for Desktop Java™ Applications
Filthy Rich Clients refers to ultra-graphically rich applications that ooze cool. They suck the user in …
book
Just Java™ 2
The #1 introduction to J2SE 1.5 and enterprise/server-side development! An international bestseller for eight years, is …
book
Win32 System Services: The Heart of Windows® 98 and Windows® 2000
The Win32 best-seller, fully updated for Windows 2000 and Windows 98! Master every key Win32 system …
book
Core Java™ 2 Volume II - Advanced Features, Seventh Edition
A new edition of this title is available, ISBN-10: 0132354799 ISBN-13: 9780132354790 Completely revised and up-to-date …