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

Product Editions

Please consider the latest edition.

  1. Java Swing, Second Edition - November 2002
  2. Java Swing - September 1998
Description
The Swing classes eliminate Java's biggest weakness: its relatively primitive user interface toolkit. Java Swing helps you to take full advantage of the Swing classes, providing detailed descriptions of every class and interface in the key Swing packages. It shows you how to use all of the new components, allowing you to build state-of-the-art user interfaces and giving you the context you need to understand what you're doing. It's more than documentation; Java Swing helps you develop code quickly and effectively.
Full Description
Table of Contents
  1. Chapter 1 Introducing Swing

    1. What Is Swing?

    2. Swing Features

    3. Swing Packages and Classes

    4. The Model-View-Controller Architecture

    5. Working with Swing

    6. The Swing Set Demo

    7. Reading this Book

  2. Chapter 2 Jump Starting a Swing Application

    1. Upgrading Your Programs

    2. Beyond Buttons

    3. A Bigger Application

  3. Chapter 3 Swing Component Basics

    1. Understanding Actions

    2. Sending Change Events in Swing

    3. The JComponent Class

  4. Chapter 4 Labels and Icons

    1. Labels

    2. Icons

  5. Chapter 5 Buttons

    1. Buttons

  6. Chapter 6 Bounded Range Components

    1. The Bounded-Range Model

    2. The JScrollBar Class

    3. The JSlider Class

    4. The JProgressBar Class

    5. Monitoring Progress

  7. Chapter 7 Lists and Combo Boxes

    1. Lists

    2. Representing List Data

    3. Handling Selections

    4. Displaying Cell Elements

    5. The JList Class

    6. Combo Boxes

    7. The JComboBox Class

  8. Chapter 8 Swing Containers

    1. A Simple Container

    2. Basic RootPaneContainers

  9. Chapter 9 Internal Frames

    1. Managing a Desktop

    2. Building a Desktop

  10. Chapter 10 Swing Dialogs

    1. The JDialog Class

    2. The JOptionPane Class

  11. Chapter 11 Specialty Panes and Layout Managers

    1. The JSplitPane Class

    2. The JScrollPane Class

    3. The JTabbedPane Class

    4. Layout Managers

    5. Other Panes

  12. Chapter 12 Chooser Dialogs

    1. The JFileChooser Class

    2. The File Chooser Package

    3. The Color Chooser

    4. The JColorChooser Class

  13. Chapter 13 Borders

    1. Introducing Borders

    2. Swing Borders

    3. The CompoundBorder Class

    4. Creating Your Own Border

  14. Chapter 14 Menus and Toolbars

    1. Introducing Swing Menus

    2. Menu Bar Selection Models

    3. The JMenuBar Class

    4. The JMenuItem Class

    5. The JPopupMenu Class

    6. The JMenu Class

    7. Selectable Menu Items

    8. Toolbars

  15. Chapter 15 Tables

    1. Table Columns

    2. Table Data

    3. The JTable Class

    4. Editing and Rendering

    5. Selecting Table Entries

  16. Chapter 16 Advanced Table Examples

    1. A Table with Row Headers

    2. Large Tables with Paging

    3. Charting Data with a TableModel

  17. Chapter 17 Trees

    1. A Simple Tree

    2. Tree Models

    3. Tree Nodes and Paths

    4. The JTree Class

    5. Tree Selections

    6. Tree Events

    7. Rendering and Editing

    8. What Next?

  18. Chapter 18 Undo

    1. The Swing Undo Facility

  19. Chapter 19 Text 101

    1. The Swing Text Components

    2. More to Come

  20. Chapter 20 Document Model and Events

    1. The Document Model

    2. Document Events

    3. Advanced AbstractDocument Event Model

  21. Chapter 21 Styled Documents and JTextPane

    1. Style

    2. A Stylized Editor

  22. Chapter 22 Carets, Highlighters, and Keymaps

    1. JTextComponent UI Properties

  23. Chapter 23 Text Views

    1. Text Views

    2. The View Classes

  24. Chapter 24 EditorKits and TextActions

    1. Overview of the Editor Kits

    2. Phew!

  25. Chapter 25 Programming with Accessibility

    1. How Accessibility Works

    2. The Accessibility Package

    3. Other Accessible Objects

    4. The Six Types of Accessibility

    5. The Accessibility Utility Classes

    6. Interfacing with Accessibility

  26. Chapter 26 Look & Feel

    1. How Does It Work?

    2. Key L&F Classes and Interfaces

    3. The MultiLookAndFeel

    4. Look-and-Feel Customization

    5. Creation of a Custom L&F

  27. Chapter 27 Swing Utilities

    1. General Utilities

    2. Editing and Rendering Utilities

    3. Event Utilities

    4. Image Utilities

  28. Chapter 28 Swing Under the Hood

    1. Creating Your Own Component

    2. Working with Focus

    3. Lightweight vs. Heavyweight Components

    4. Multithreading Issues with Swing

    5. Painting and Repainting

  1. Appendix A Look & Feel Resources

  2. Colophon

View Full Table of Contents
Product Details
Title:
Java Swing
By:
Robert Eckstein, Marc Loy, Dave Wood
Publisher:
O'Reilly Media
Formats:
  • Print
  • Safari Books Online
Print Release:
September 1998
Pages:
1258
Print ISBN:
978-1-56592-455-0
| ISBN 10:
1-56592-455-X
Customer Reviews
About the Authors
  1. Robert Eckstein

    Robert Eckstein, an editor at O'Reilly, works mostly on Java books (notably Java Swing) and is also responsible for the XML Pocket Reference and Webmaster in a Nutshell, 2nd Edition. In his spare time he has been known to provide online coverage for popular conferences. He also writes articles for JavaWorld magazine. Robert holds bachelor's degrees in computer science and communications from Trinity University. In the past, he has worked for the USAA insurance company and more recently spent four years with Motorola's cellular software division. He is the co-author of Using Samba.

    View Robert Eckstein's full profile page.

  2. Marc Loy

    Marc Loy is a senior programmer at Galileo Systems, LLC, but his day job seems to be teaching Java and Perl to various companies -- including Sun Microsystems. He has played with Java since the alpha days and can't find his way back to C. He is developing an interactive learning application at Galileo written entirely in Java. He received his master's degree in computer science at the University of Wisconsin-Madison, and still lives in Madison with his partner, Ron Becker. He does find time to relax by playing the piano and/or throwing darts, depending on how successful the day of teaching or programming was.

    View Marc Loy's full profile page.

  3. Dave Wood

    David Wood is Technical Director of Plugged In Software in Brisbane, Australia, where he works with a wonderful team producing Java custom software. In his eclectic career he has been a ship's navigator, deep sea salvage engineer, and aerospace project manager for the U.S. Navy, and consulted to Lawrence Livermore National Laboratory and Netscape. David enjoys hiking and sailing with his very patient wife and teaching his son Perl before he goes to kindergarten. David holds degrees in mechanical, electrical, aeronautical, and astronautical engineering from the U.S. Naval Postgraduate School and the Virginia Military Institute.

    View Dave Wood'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 image on the cover of Java Servlet Programming is a copper teakettle. The cover was designed by Hanna Dyer using a series design by Edie Freedman. The image was photographed by Kevin Thomas and manupulated in Adobe Photoshop by Michael Snow. The cover layout was produced with QuarkXPress 3.3 using the Bodoni Black font from URW Software and Bodoni BT Bold Italic from Bitstream. The inside layout was designed by Nancy Priest. Text was produced in FrameMaker 5.5 using a template implemented by Mike Sierra. The heading font is Bodoni BT; the text font is New Baskerville. The illustrations that appear in the book were created in Macromedia Freehand 7 and Adobe Photoshop 4 by Robert Romano. Whenever possible, our books use a durable and flexible lay-flat binding, either RepKover or Otabind. If the pagecount exceeds this type of binding's limit, perfect binding is used.

  • Book cover of Java Swing