1 option
Swing hacks / Joshua Marinacci and Chris Adamson.
- Format:
- Book
- Author/Creator:
- Marinacci, Joshua.
- Series:
- Hacks series
- Language:
- English
- Subjects (All):
- Swing (Computer file).
- Java (Computer program language).
- Physical Description:
- 1 online resource (544 p.)
- Edition:
- First edition.
- Other Title:
- Subtitle on cover: Tips & tools for building killer GUIs.
- Place of Publication:
- Beijing ; Sebastopol, California : O'Reilly, 2005.
- Language Note:
- English
- System Details:
- text file
- Summary:
- Swing Hacks helps Java developers move beyond the basics of Swing, the graphical user interface (GUI) standard since Java 2. If you're a Java developer looking to build enterprise applications with a first-class look and feel, Swing is definitely one skill you need to master. This latest title from O'Reilly is a reference to the cool stuff in Swing. It's about the interesting things you learn over the years--creative, original, even weird hacks--the things that make you say, ""I didn't know you could even do that with Swing!"" Swing Hacks will show you how to exte
- Contents:
- Contents; Credits; About the Authors; Contributors; Acknowledgments; Joshua; Chris; 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; Basic JComponents; Create Image-Themed Components; Don't Settle for Boring Text Labels; Fill Your Borders with Pretty Pictures; Display Dates in a Custom Calendar; Create the Images; A Component to Paint; Draw the Days of the Month; Add a Watermark to a Text Component; Watermark Your Scroll Panes
- Put a NASA Photo into the Background of a Text AreaAnimate Transitions Between Tabs; Building a Basic Tabbed Pane; Scheduling the Animation; Drawing the Animation; Putting It All Together; Another Example; Blur Disabled Components; Building a Drop-Down Menu Button; Adding a Color Selection Panel; Create Menus with Drop Shadows; Add Translucence to Menus; Make the Custom Menu Item; Add a Custom JMenu; Test It Out; Future Ideas; Lists and Combos; Filter JLists; Add a Filter History; Make JLists Checkable; Make Different List Items Look Different; Reorder a JList with Drag-and-Drop
- Animate Your JList SelectionsTurn Methods into List Renderers; Building a Generic Renderer; Putting It All Together; Create a Collections-Aware JComboBox; Tables and Trees; Size Your Columns to Suit Your JTable's Contents; Resetting Column Widths; Accounting for Header Cells; Hacking the Hack; Add Column Selection to JTables; Let Your JTables Do the Sorting; Create a JDBC Table Model; Building Connectivity; Testing Things Out; Export Table Data to an Excel Spreadsheet; Dealing with Formatting; Search Through JTables Easily; JTable Search Strategy; Decorating the TableModel
- Creating Logical Links to the Inner Table ModelIndexing; Searching; Getting results from the index; Recreating the inner table model links; Try It Out; Finishing Touches; Listen to inner table updates; Clear search results for blank search; Wrapping Up; Animate JTree Drops; The Code; Running the Code; File Choosers; Add a Right-Click Context Menu to the JFileChooser; The Problem; Display Shortcuts in the JFileChooser; Real Windows Shortcut Support; Add Image Preview to File Choosers; Preview ZIP and JAR Files; Build File Proxies; Build a Custom Filesystem View; Put It All Together
- Windows, Dialogs, and FramesWindow Snapping; Make a Draggable Window; Add Windows Resize Icons; A Tale of Two Icons; The Icon Interface; The Explorer Icon; The Office Icon; Add Status Bars to Windows; Standard Status Bars; Painting Panel Details; Add the Corner Icon; Add the Left Component; Add a Separator Panel; And the Rest...; Running the Hack; Save Window Settings; The Window Saver Class; Earthquake Dialog; Exterior Animation; Shake, Rattle, and Roll; Spin Open a Detail Pane; The Invisible Man; Now You See Me; Minimize to a Mini-Frame; I Shall Call Him...Mini-Me; Minimize the Frame
- Restore the Frame
- Notes:
- Includes index.
- Description based on print version record.
- ISBN:
- 9780596523602
- 0596523602
- OCLC:
- 326626768
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.