Java foundation classes in a nutshell a desktop quick reference
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 Fo...
Autor principal: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Sebastopol :
O'Reilly
1999.
|
Colección: | Java series (O'Reilly & Associates)
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009649835206719 |
Tabla de Contenidos:
- 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