Core JFC, 2/e (Paperback)

Kim Topley

  • 出版商: Prentice Hall
  • 出版日期: 2001-10-15
  • 定價: $1,650
  • 售價: 6.0$990
  • 語言: 英文
  • 頁數: 1712
  • 裝訂: Paperback
  • ISBN: 013090581X
  • ISBN-13: 9780130905819





The worldwide JFC bestseller, updated for J2SE 1.3 and new Swing enhancements!

  • Expert-level JFC techniques and industrial-strength code examples
  • Advanced Swing solutions for superior Java(tm) user interfaces
  • In-depth discussion of all the Swing components and subsystems

Core JFC delivers:

  • Expert Swing techniques for superior user interfaces
  • Specific answers to the JFC problems experienced developers encounter most often
  • New techniques that utilize JFC enhancements in J2SE 1.3

In-depth coverage of all the Swing components.

With Java 2 Standard Edition Version 1.3, Sun has enhanced the Java Foundation Classes with new features and superior performance. In Core JFC, Second Edition, Kim Topley updates his bestselling guide to JFC, giving serious developers the detailed information they need to make the most of the latest version.

Using industrial-strength examples, Core JFC, Second Edition presents JFC in depth — and introduces key JFC features that are new to J2SE 1.3, including Swing enhancements, input validation, and new key binding schemes. Topley presents powerhouse JFC techniques that are of value to all JFC programmers, from beginner to expert.

Topley's advanced Swing coverage includes solutions to many of the key problems developers face most often. He introduces expert techniques for working with tree components, using custom renderers and editors, working with text components, using the internal frames feature to create multi-document applications, and much more.

If you're ready to use all the power JFC gives you, you're ready for Core JFC, Second Edition!

About the CD-ROM

The accompanying CD-ROM contains an extensive source code library that can be compiled and run from Windows, Solaris, and Linux, along with complete versions of Borland's JBuilder 4, Foundation Edition for all three platforms.

Every Core Series Book:

  • Demonstrates practical techniques used by professional developers
  • Features robust, thoroughly tested sample code and realistic examples
  • Focuses on cutting-edge technologies you need to master today
  • Provides expert advice that will help you build superior software

Table of Contents


Who This Book Is For. What You'll Need. How This Book Is Organized. Conventions Used in This Book. About the CD-ROM. Feedback. Further Information. Acknowledgments.


1. Introduction to the Java Foundation Classes.

What Are the Java Foundation Classes? Overview of JFC Features. The Swing Packages. The Model-View-Controller Architecture.

2. Frames, Labels and buttons.

The Shell of an Application: The JFrame Class. Components and Their Properties. Containers and Layout Managers. Event Handling. Using Buttons. Images on Components: Icons.

3. Managing the User Interface.

Layout Managers. Component Orientation. Working with the Application Window.

4. Graphics, Text Handling and Printing.

Working with Graphics. A Graphics Application. Rendering Text. Printing Graphics and Text.


5. Keyboard Handling, Actions, and Scrolling.

Implementing Mouseless Operation. Scrolling Components. Logical Scrolling and Forcing Visibility of an Area. Implementing Scrolling with JscrollBar. Scrolling with the Keyboard. Component Autoscrolling.

6. Menus and Toolbars.

The Menu Bar and the Menu System. Toolbars. Actions and Java 2 Version 1.3.

7. Using Standard Dialogs.

Basic Dialogs. The JFileChooser Component.

8. Creating Custom Dialogs.

Creating Custom Dialog Boxes. Tabbed Panes and Borders. Swing Components Often Used in Dialogs.


9. Text Controls.

Simple Text Controls. Input Verification. Text Components: Under the Hood. Getting Multiple Views of a Document. Documents with Nontext elements: JTextPane and JeditorPane.

10. The Tree Control.

The Tree Control. Custom Tree Rendering and Editing.

11. The Table Control.

An Overview of the Table Control. The Table Model. Table Columns and the Table Column Model. The Table Control. Customized Table Rendering and Editing.

12. Multiple-Document Applications.

Internal Frames. Layered Panes. Working with Internal Frames. Icons, the Desktop Pane and the Desktop Manager. An Example Multiple-Document Application.

13. The Pluggable Look-And-Feel.

The Look-and-Feel and the UIManager. Changing Component Look-and-Feel.