Java foundation classes in a nutshell : a desktop quick reference / David Flanagan.
- Format:
-
- Author/Creator:
-
- Series:
-
- Language:
- English
- Subjects (All):
-
- Physical Description:
- 1 online resource (754 p.)
- Place of Publication:
- Sebastopol : O'Reilly, 1999.
- Language Note:
- English
- Summary:
- Java Foundation Classes in a Nutshell is an indispensable quick reference for Java programmers who are writing applications that use graphics or graphical user interfaces. The author of the bestsellingJava in a Nutshell has written fast-paced introductions to the Java APIs that comprise the Java Foundation Classes (JFC), such as the Swing GUI components and Java 2D, so that you can start using these exciting new technologies right away. This book also includes O'Reilly's classic-style, quick-reference material for all of the classes in the javax.swing and
- Contents:
-
- Table of Contents; Preface; Contents of This Book; Related Books; Java Programming Resources Online; Examples Online; Conventions Used in This Book; Request for Comments; Acknowledgments; Part I. Introducing the Java Foundation Classes; Chapter 1. The Java Foundation Classes; Chapter 2. Swing and AWT Architecture; A Simple Graphical User Interface; Components; Properties; Containers and Containment; Layout Management; Event Handling; Event Objects; Event Listeners; Event Adapters; Event Handling with Inner Classes; Handling Input Events Directly; Event Reference; Swing Component Architecture
- Chapter 3. Swing Programming TopicsVersions of Swing; Labels and HTML; Actions; Tooltips; Timers; The Event Dispatch Thread; Client Properties; Keyboard Shortcuts; Focus Management; Menu Mnemonics and Accelerators; Keyboard Actions; Keymaps; Serialization; Borders; Icons; Cursors; Double-Buffering; The Box Container; Minimum, Preferred, and Maximum Sizes; The Other Dimension; Simple Dialogs; Message Dialogs; Confirm Dialogs; Input Dialogs; JFileChooser; Using File Filters; Customizing JFileChooser; JColorChooser; Menus; JTree and TreeModel; JTable and TableModel
- JTextComponent and HTML Text DisplayPluggable Look-and-Feel; Using Themes with the Metal Look-and-Feel; Auxiliary Look-and-Feels; Accessibility; Custom Components; Properties; Events; Constructors; Drawing the Component; Handling Events; Component Size; Accessibility; Miscellaneous Methods; Chapter 4. Graphics with AWTand Java 2D; Graphics Before Java 2D; Line Drawing; Colors; Fonts; Font Metrics; Images; Java 2D Graphics Attributes and Operations; The Coordinate System; Shapes; Bezier Curves; How Shapes Are Implemented; Stroking Lines; BasicStroke; How a Stroke Works; Paint
- Blending Colors with AlphaCompositeTransparent Colors and the Alpha Channel; Drawing with Translucent Colors; The AlphaComposite Compositing Rules; Rendering Hints; Fonts and Text; Available Fonts; Font Attributes; Transforming Fonts; Text-Rendering Hints; Measuring Text and Fonts; Advanced Text Drawing; Text Art with Font Glyphs; Buffered Images; Obtaining a BufferedImage; Drawing a BufferedImage; Drawing into a BufferedImage; Manipulating Pixels of a BufferedImage; Inside a BufferedImage; Processing a BufferedImage; Transformations with AffineTransform; Setting Up an AffineTransform
- Performing TransformationsThe Mathematics of AffineTransform; Color Spaces; Chapter 5. Printing; Printing in Java 1.1; Printing in Java 1.2; Printing Single-Page Objects; Printing Multipage Documents; Efficiency Issues in the Java 1.2 Printing API; Chapter 6. Data Transfer; The Data Transfer Framework; The DataFlavor Class; The Transferable Interface; Cut-and-Paste; Drag-and-Drop; A Data Source; A Data Sink; Chapter 7. Applets; Writing Applets; A Simple Applet; Applets and the Java 1.0 Event Model; Including Applets in HTML Files; The Tag; Using Applet JAR Files
- Using Applets with the Java Plug-in
- Notes:
-
- Includes indexes.
- Description based on print version record.
- ISBN:
-
- 9780596805364
- 0596805365
- 9781565929555
- 1565929551
- OCLC:
- 775301600
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.