Core Java Foundation Classes
The long-awaited Java Foundation Classes (JFC) greatly expand Java's graphics capabilities and streamline the construction of state-of-the-art user interfaces. "Core Java Foundation Classes" offers the detailed information experienced developers need to make the most of JFC - whether they're migrating from AWT or building Java GUIs for the first time. Using extensive real-world examples, Kim Topley introduces the new Swing classes. You'll learn what the Swing classes are, what they allow you to accomplish, and how they work together. You'll walk step by step through the development of JFC-based applications and components and master such crucial JFC concepts as pluggable look-and-feel. From creating your application's shell with the JFrame class to developing your own look-and-feel, "Core Java Foundation Classes" is the most comprehensive programmer's guide to sophisticated JFC-based development.
- Mixed media product | 1300 pages
- 178 x 232 x 44mm | 1,719.11g
- 01 Aug 1991
- Pearson Education (US)
- Prentice Hall
- Upper Saddle River, United States
- w. figs.
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. A Note on Swing Versions. Feedback. Further Information. Acknowledgments. I. FROM AWT TO SWING. 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. Summary.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. Summary.3. Managing the User Interface. Layout Managers. Working with the Application Window. Summary.4. Graphics, Text Handling and Printing. Working with Graphics. A Graphics Application. Rendering Text. Printing Graphics and Text. Summary.II. USING SWING TO BUILD BETTER APPLICATIONS. 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. Summary.6. Menus and Toolbars. The Menu Bar and the Menu System. Toolbars. Summary.7. Using Standard Dialogs. Basic Dialogs. The File Selection Dialog. Summary.8. Creating Custom Dialogs. Creating Custom Dialog Boxes. Tabbed Panes and Borders. Swing Components Often Used in Dialogs. Summary.III. ADVANCED TOPICS. 9. Text Controls. Simple Text Controls. Text Components: Under the Hood. Getting Multiple Views of a Document. Documents with Nontext elements: JTextPane and JEditorPane. Summary.10. The Tree Control. The Tree Control. Custom Tree Rendering and Editing. Summary.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. Summary.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. Summary.13. The Pluggable Look-And-Feel. The Look-and-Feel and the UIManager. Changing Component Look- and-Feel. Summary.Appendices. A Class Diagrams. B Swing Components and Multithreading. Index.
About Kim Topley
Kim Topley has more than 25 years experience as a software developer, and was one of the first people in the world to obtain the Sun Certified Java Programmer qualification. He is now working as a Financial Developer at a leading financial institution in London, England.