站内搜索: 请输入搜索关键词
当前页面: 图书首页 > Swing Hacks

Table of Contents - Swing Hacks

Previous Page
Next Page

Book Cover
Swing Hacks
By Chris Adamson, Joshua Marinacci
...............................................
Publisher: O'Reilly
Pub Date: June 2005
ISBN: 0-596-00907-0
Pages: 542
 



Table of Contents  | Index

   Credits
      About the Authors
      Contributors
      Acknowledgments
   Preface
      Why Swing Hacks?
      How to Use This Book
      How This Book Is Organized
      Conventions Used in This Book
      Using Code Examples
      How to Contact Us
      Got a Hack?
      Safari Enabled
        Chapter 1.  Basic JComponents
      Section 1.1.  Hacks 112: Introduction
      Hack 1.  Create Image-Themed Components
      Hack 2.  Don't Settle for Boring Text Labels
      Hack 3.  Fill Your Borders with Pretty Pictures
      Hack 4.  Display Dates in a Custom Calendar
      Hack 5.  Add a Watermark to a Text Component
      Hack 6.  Watermark Your Scroll Panes
      Hack 7.  Put a NASA Photo into the Background of a Text Area
      Hack 8.  Animate Transitions Between Tabs
      Hack 9.  Blur Disabled Components
      Hack 10.  Building a Drop-Down Menu Button
      Hack 11.  Create Menus with Drop Shadows
      Hack 12.  Add Translucence to Menus
        Chapter 2.  Lists and Combos
      Section 2.1.  Hacks 1320: Introduction
      Hack 13.  Filter JLists
      Hack 14.  Add a Filter History
      Hack 15.  Make JLists Checkable
      Hack 16.  Make Different List Items Look Different
      Hack 17.  Reorder a JList with Drag-and-Drop
      Hack 18.  Animate Your JList Selections
      Hack 19.  Turn Methods into List Renderers
      Hack 20.  Create a Collections-Aware JComboBox
        Chapter 3.  Tables and Trees
      Section 3.1.  Hacks 2127: Introduction
      Hack 21.  Size Your Columns to Suit Your JTable's Contents
      Hack 22.  Add Column Selection to JTables
      Hack 23.  Let Your JTables Do the Sorting
      Hack 24.  Create a JDBC Table Model
      Hack 25.  Export Table Data to an Excel Spreadsheet
      Hack 26.  Search Through JTables Easily
      Hack 27.  Animate JTree Drops
        Chapter 4.  File Choosers
      Section 4.1.  Hacks 2832: Introduction
      Hack 28.  Add a Right-Click Context Menu to the JFileChooser
      Hack 29.  Display Shortcuts in the JFileChooser
      Hack 30.  Real Windows Shortcut Support
      Hack 31.  Add Image Preview to File Choosers
      Hack 32.  Preview ZIP and JAR Files
        Chapter 5.  Windows, Dialogs, and Frames
      Section 5.1.  Hacks 3340: Introduction
      Hack 33.  Window Snapping
      Hack 34.  Make a Draggable Window
      Hack 35.  Add Windows Resize Icons
      Hack 36.  Add Status Bars to Windows
      Hack 37.  Save Window Settings
      Hack 38.  Earthquake Dialog
      Hack 39.  Spin Open a Detail Pane
      Hack 40.  Minimize to a Mini-Frame
        Chapter 6.  Transparent and Animated Windows
      Section 6.1.  Hacks 4147: Introduction
      Hack 41.  Transparent Windows
      Hack 42.  Make Your Frame Dissolve
      Hack 43.  Create Custom Tool Tips
      Hack 44.  Turn Dialogs into Frame-Anchored Sheets
      Hack 45.  Animating a Sheet Dialog
      Hack 46.  Slide Notes Out from the Taskbar
      Hack 47.  Indefinite Progress Indicator
        Chapter 7.  Text
      Section 7.1.  Hacks 4855: Introduction
      Hack 48.  Make Text Components Searchable
      Hack 49.  Force Text Input into Specific Formats
      Hack 50.  Auto-Completing Text Fields
      Hack 51.  Write Backward Text
      Hack 52.  Use HTML and CSS in Text Components
      Hack 53.  Use Global Anti-Aliased Fonts
      Hack 54.  Anti-Aliased Text Without Code
      Hack 55.  Anti-Aliased Text with a Custom Look and Feel
        Chapter 8.  Rendering
      Section 8.1.  Hacks 5664: Introduction
      Hack 56.  Create a Magnifying Glass Component
      Hack 57.  Create a Global Right-Click
      Hack 58.  Block a Window Without a Modal Dialog
      Hack 59.  Create a Color Eyedropper
      Hack 60.  Changing Fonts Throughout Your Application
      Hack 61.  Load New Fonts at Runtime
      Hack 62.  Build a Colorful Vector-Based Button
      Hack 63.  Add a Third Dimension to Swing
      Hack 64.  Turn the Spotlight on Swing
        Chapter 9.  Drag-and-Drop
      Section 9.1.  Hacks 6569: Introduction
      Hack 65.  Drag-and-Drop with Files
      Hack 66.  Handle Dropped URLs
      Hack 67.  Handle Dropped Images
      Hack 68.  Handling Dropped Picts on Mac OS X
      Hack 69.  Translucent Drag-and-Drop
        Chapter 10.  Audio
      Section 10.1.  Hacks 7078: Introduction
      Hack 70.  Play a Sound in an Applet
      Hack 71.  Play a Sound with JavaSound
      Hack 72.  Play a Sound with Java Media Framework
      Hack 73.  Play a Sound with QuickTime for Java
      Hack 74.  Add MP3 Support to JMF
      Hack 75.  Build an Audio Waveform Display
      Hack 76.  Play Non-Trivial Audio
      Hack 77.  Show Audio Information While Playing SoundHack
      Hack 78.  Provide Audio Controls During Playback
        Chapter 11.  Native Integration and Packaging
      Section 11.1.  Hacks 7987: Introduction
      Hack 79.  Launch External Programs on Windows
      Hack 80.  Open Files, Directories, and URLs on Mac OS X
      Hack 81.  Make Mac Applications Behave Normally
      Hack 82.  Control iTunes on Mac OS X
      Hack 83.  Control iTunes Under Windows
      Hack 84.  Construct Single-Launch Applications
      Hack 85.  Stuff Stuff in JARs
      Hack 86.  Make Quick Look and Feel Changes
      Hack 87.  Create an Inverse Black-and-White Theme
        Chapter 12.  Miscellany
      Section 12.1.  Hacks 88100: Introduction
      Hack 88.  Display a Busy Cursor
      Hack 89.  Fun with Keyboard Lights
      Hack 90.  Create Demonstrations with the Robot Class
      Hack 91.  Check Your Mail with Swing
      Hack 92.  Don't Block the GUI
      Hack 93.  Code Models That Don't Block
      Hack 94.  Fire Events and Stay Bug Free
      Hack 95.  Debug Your GUI
      Hack 96.  Debug Components with a Custom Glass Pane
      Hack 97.  Mirror an Application
      Hack 98.  Add Velocity for Dynamic HTML
      Hack 99.  Get Large File Icons
      Hack 100.  Make Frames Resize Dynamically
   Colophon
   Index

Previous Page
Next Page