Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 449 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
449
Dung lượng
5,15 MB
Nội dung
Sun - JavaLookandFeelDesign Guidelines, 2ndEdition made by dotneter@teamfly Java(TM) LookandFeelDesignGuidelines (2nd Edition) Sun Microsystems Inc (Editor), Inc Sun Microsystems Book Details z Paperback: 416 pages ; Dimensions (in inches): 1.07 x 9.29 x 7.40 z Publisher: AddisonWesley Professional; ISBN: 0201725886; 2ndedition z Average Customer Review: z Amazon.com Sales Rank: 75,154 z Made: By dotneter Based on 10 reviews Sun - JavaLookandFeelDesign Guidelines, 2ndEdition made by dotneter@teamfly Copyright 2001 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, California 94303 U.S.A All rights reserved Use is subject to License terms This product or documentation is distributed under licenses restricting its use, copying, distribution, and decompilation No part of this product or documentation may be reproduced in any form by any means without prior written authorization of Sun and its licensors, if any Third-party software, including font technology, is copyrighted and licensed from Sun suppliers Sun, Sun Microsystems, the Sun logo, Java, JavaHelp, Java 2D, JavaBeans, JDK, the Java Coffee Cup logo, Jini, Jiro, Forte, NetBeans, Solaris, iPlanet, StarOffice, and StarPortal are trademarks or registered trademarks of Sun Microsystems, Inc in the U.S and other countries Netscape Navigator is a trademark or registered trademark of Netscape Communications Corporation Adobe is a registered trademark of Adobe Systems, Incorporated UNIX is a registered trademark in the United States and other countries, exclusively licensed through X/Open Company, Ltd All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc in the United States and other countries Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc Federal Acquisitions: Commercial Software Government Users Subject to Standard License Terms and Conditions U.S Government: If this Software is being acquired by or on behalf of the U.S Government or by a U.S Government prime contractor or subcontractor (at any tier), then the Government's rights in the Software and accompanying documentation shall be only as set forth in this license; this is in accordance with 48 C.F.R 227.7202-4 (for Department of Defense (DOD) acquisitions) and with 48 C.F.R 2.101 and 12.212 (for non-DOD acquisitions) DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID The publisher offers discounts on this book when ordered in quantity for special sales For more information, please contact: Addison-Wesley Professional 75 Arlington Street, Suite 300 Boston, Massachusetts 02116 U.S.A Copyright 2001 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, Californie 94303 Etats-Unis Tous droits reserves Distribueé par des licences qui en restreignent l'utilisation Sun - JavaLookandFeelDesign Guidelines, 2ndEdition made by dotneter@teamfly Ce produit ou document est protegeé par un copyright et distribué avec des licences qui en restreignent l'utilisation, la copie, la distribution, et la decompilation Aucune partie de ce produit ou document ne peut être reproduite sous aucune forme, par quelque moyen que ce soit, sans l'autorisation préalable eté écrite de Sun et de ses bailleurs de licence, s'il y en a Le logiciel détenu par des tiers, et qui comprend la technologie relative aux polices de caractères, est protegeé par un copyright et licenciée par des fournisseurs de Sun Sun, Sun Microsystems, le logo Sun, Java, JavaHelp, Java 2D, JavaBeans, JDK, Java Coffee Cup logo, Jini, Jiro, Forte, NetBeans, Solaris, iPlanet, StarOffice, et StarPortal sont des marques de fabrique ou des marques déposées de Sun Microsystems, Inc aux Etats-Unis et dans d'autres pays Netscape Navigator est une marque de Netscape Communications Corporation aux Etats-Unis et dans d'autres pays Adobe est une marque enregistrée de Adobe Systems, Incorporated UNIX est une marque déposé aux Etats-Unis et dans d'autres pays et licenciée exclusivement par X/Open Company Ltd Toutes les marques SPARC sont utilisées sous licence et sont des marques de fabrique ou des marques déposées de SPARC International, Inc aux Etats-Unis et dans d'autres pays Les produits portant les marques SPARC sont basés sur une architecture developpé par Sun Microsystems, Inc L'accord du gouvernement americain est requis avant l'exportation du produit LA DOCUMENTATION EST FOURNIE "EN L'ETAT" ET TOUTES AUTRES CONDITIONS, DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENT EXCLUES, DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS NOTAMMENT TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A L'APTITUDE A UNE UTILISATION PARTICULIERE OU A L'ABSENCE DE CONTREFACON Library of Congress Cataloging in Publication Data Javalookandfeeldesignguidelines / Sun Microsystems, Inc. 2nd ed p cm Includes bibliographical references and index ISBN 0-201-72588-6 Java (Computer program language) I Sun Microsystems QA76.73.J38 J373 2001 005.13'3 dc21 00-049607 9-WCT-05 04 03 02 01 First Printing, February 2001 Sun - JavaLookandFeelDesign Guidelines, 2ndEdition Contents Contents Foreword by James Gosling Preface Part I: Overview 1: The JavaLookandFeel Fundamentals of the JavaLookandFeel Visual Tour of the JavaLookandFeel MetalEdit Application Retirement Savings Calculator Applet 2: The Java Foundation Classes Java Software Development Kit Java Foundation Classes Support for Accessibility Support for Internationalization User Interface Components of the JFC Pluggable LookandFeel Architecture Example Model and Interfaces Client Properties Major JFC User Interface Components LookandFeel Options JavaLookandFeel the Recommended Design Supplied Designs Part II: Fundamental Java Application Design 3: Design Considerations Choosing an Application or an Applet Distribution Security Issues Placement of Applets Designing for Accessibility Benefits of Accessibility Accessible Design Planning for Internationalization and Localization made by dotneter@teamfly Sun - JavaLookandFeelDesign Guidelines, 2ndEdition Benefits of Global Planning Global Design 4: Visual Design Themes Colors Fonts Layout and Visual Alignment Design Grids Text Layout Between-Component Spacing Guidelines Spacing Guidelines for Specific JFC Components Text in the Interface Headline Capitalization in English Sentence Capitalization in English Animation 5: Application Graphics Working With Cross-Platform Color Working With Available Colors Choosing Graphic File Formats Choosing Colors Maximizing Color Quality Categorizing Application Graphics Designing Icons Working With Icon Styles Drawing Icons Designing Button Graphics Using Button Graphic Styles Producing the Flush 3D Effect Working With Button Borders Determining the Primary Drawing Area Drawing the Button Graphic Using Badges in Button Graphics Menu Indicators New Object Indicators Add Object Indicators Properties Indicators Combining Indicators Designing Symbols Designing Graphics for Corporate and Product Identity Designing Splash Screens Designing Login Splash Screens Designing About Boxes made by dotneter@teamfly Sun - JavaLookandFeelDesign Guidelines, 2ndEdition made by dotneter@teamfly 6: Behavior Mouse Operations Pointer Feedback Mouse-over Feedback Clicking and Selecting Objects Displaying Contextual Menus Drag-and-Drop Operations Typical Drag and Drop Pointer and Destination Feedback Keyboard Operations Keyboard Focus Keyboard Navigation and Activation Keyboard Shortcuts Mnemonics Operational Feedback Progress Animation Status Animation Design for Smooth Interaction Initial Focus Navigation Password Field Status and Error Messages Text Selection and Filled Text Fields Part III: The Components of the Java Foundation Classes 7: Windows and Panes Anatomy of a Primary Window Constructing Windows Primary Windows Secondary Windows Plain Windows Utility Windows Organizing the Contents of Windows Panels Scroll Panes Tabbed Panes Split Panes Working With Multiple Document Interfaces Backing Windows Internal Windows Secondary Windows Internal Utility Windows Sun - JavaLookandFeelDesign Guidelines, 2ndEdition Window Titles Title Text in Primary Windows Title Text in Secondary Windows Title Text in Internal Windows 8: Dialog Boxes and Alert Boxes Modal and Modeless Dialog Boxes Dialog Box Design Tab Traversal Order Single-Use and Multiple-Use Dialog Boxes Command Buttons in Dialog Boxes Common Dialog Boxes Find Dialog Boxes Login Dialog Boxes Preferences Dialog Boxes Progress Dialog Boxes Color Choosers Alert Boxes Info Alert Boxes Warning Alert Boxes Error Alert Boxes Question Alert Boxes 9: Menus and Toolbars Menu Elements Menu Bars Drop-down Menus Submenus Menu Items Separators Menu Item Graphics Checkbox Menu Items Radio Button Menu Items Common Menus Typical File Menu Typical Edit Menu Typical Format Menu Typical View Menu Typical Help Menu Contextual Menus Toolbars Toolbar Placement Draggable Toolbars Toolbar Buttons made by dotneter@teamfly Sun - JavaLookandFeelDesign Guidelines, 2ndEdition made by dotneter@teamfly Tool Tips 10: Basic Controls Command Buttons Default Command Buttons Combining Graphics With Text in Command Buttons Using Ellipses in Command Buttons Toggle Buttons Independent Choice Exclusive Choice Checkboxes Radio Buttons List Boxes Scrolling Selection Models for List Components Combo Boxes Noneditable Combo Boxes Editable Combo Boxes Sliders 11: Text Components Labels Labels That Identify Controls Labels That Communicate Status and Other Information Text Fields Noneditable Text Fields Editable Text Fields Password Fields Text Areas Editor Panes Default Editor Kit Styled Text Editor Kit RTF Editor Kit HTML Editor Kit 12: Selectable Lists, Tables, and Tree Components Selectable Lists Selectable Lists and Associated Tables Selectable Lists and Associated Text Fields Tables Table Appearance Table Scrolling Column Reordering Column Resizing Sun - JavaLookandFeelDesign Guidelines, 2ndEdition made by dotneter@teamfly Row Sorting Selection Models for Tables Tree Components Lines in Tree Components Graphics in Tree Components Editing in Tree Components Part IV: Backmatter Appendix A: Keyboard Shortcuts, Mnemonics, and Other Keyboard Operations Common Keyboard Shortcuts Common Mnemonics Backing Windows and Internal Windows Checkboxes Combo Boxes Command Buttons HTML Editor Kits List Components Menus Radio Buttons Scrollbars Secondary Windows and Utility Windows Sliders Split Panes Tabbed Panes Tables Text Areas and Default and Styled Text Editor Kits Text Fields Toggle Buttons Tool Tips Toolbars Tree Components Appendix B: Graphics Repository General Graphics Adding Objects Saving Edits or Checkpoints Stopping a Task Updating the Screen Display Changing Magnification Levels Specifying Preferences and Properties Printing Displaying and Retrieving Previously Visited Locations Sun - JavaLookandFeelDesign Guidelines, 2ndEdition made by dotneter@teamfly Creating and Sending Electronic Mail Aligning Objects Justifying Objects Searching Editing Objects and Data Importing and Exporting Objects Providing Help and Information Navigation Vertical Traversal Horizontal Traversal Returning to an Initial Location Table Graphics Column Operations Row Operations Text Text Alignment and Justification Type Style Graphics Media Creating a Movie Moving Through Time-Based Media Graphics for Development Tools Creating and Deploying Applications and Applets Creating and Adding Beans and Enterprise Beans Creating Hosts and Servers Creating and Adding Java Archive Files Creating and Adding Web Archive Files and Web Components Appendix C: Localization Word Lists European Languages Asian Languages Appendix D: Switching LookandFeel Designs Pitfalls of User-Controlled Switching Guidelines for Switching LookandFeel Designs How to Present the Choice Nomenclature Glossary Index Colophon Sun - JavaLookandFeelDesign Guidelines, 2ndEdition Option, Page Down, 1, Page Up, 1, Shift, 1, 2, 3, 4, spacebar, 1, Tab, 1, 2, 3, Return to the top of the index L labels, 1—2 See also text and accessibility, available and unavailable, capitalization of, 1—2 color design for, 1, 2—3 communicating status with, example, font design for, identifying controls with, 1—2 internationalization and, mnemonics in, spacing and alignment of, 1, layers See containers layout managers, 1, layout See spacing and alignment legal requirements About boxes, accessibility and, splash screens, list boxes, 1—2 See also combo boxes; list components list components keyboard operations for, 1—2 list boxes, 1—2 scrolling in, selectable lists, 1—2 selection in, 1, 2—3 lists See list components localization, 1—2 See also internationalization application graphics and, button graphics and, word lists for, 1—2 made by dotneter@teamfly Sun - JavaLookandFeelDesign Guidelines, 2ndEdition made by dotneter@teamfly login dialog boxes, 1—2, login splash screens, 1—2 lookandfeel designs, 1—2, 3—4 See also Javalookandfeel lower-level containers, 1—2 See also panels; scroll panes; split panes; tabbed panes Lucida font, Return to the top of the index M Macintosh lookand feel, MDI (multiple document interface), 1—2 media, supplied graphics for, 1—2 menu bars, 1—2 in applets, example, keyboard operations for, 1—2 menu indicators See drop-down arrows menu items, 1—2 See also keyboard shortcuts; menus; mnemonics About Application (Help menu), available and unavailable, 1, capitalization of, checkbox, 1—2 choosing, Close (File menu), 1, color design for, 1, 2, 3, 4, ellipsis mark in, example, Exit (File menu), 1, graphics in, highlighted, keyboard operations for, 1—2 radio button, in submenus, table of common keyboard shortcuts, table of common mnemonics, menu separators, 1, menu titles, See also keyboard shortcuts; menu items; menus; mnemonics capitalization of, color design for, 1, 2, 3, 4, example, Sun - JavaLookandFeelDesign Guidelines, 2ndEdition made by dotneter@teamfly font design for, order of, menus, 1—2 See also contextual menus; drop-down menus; keyboard shortcuts; menu bars; menu items; menu titles; mnemonics; submenus applets and, choosing items, color design for, 1, 2, 3, 4, common in Javalookand feel, 1—2 displaying, Edit, 1, 2, 3, ellipsis mark in, File, 1, 2, Format, 1, Help, 1, 2—3 keyboard operations for, 1—2 order of, separators, 1, types of, View, Meta key, Metal See Javalookandfeel MetalEdit application, 1—2 Microsoft Windows lookand feel, 1, MIME (Multipurpose Internet Mail Extensions), minimized internal utility windows, 1, minimized windows, example, mnemonics, 1—2 See also keyboard operations; keyboard shortcuts accessibility and, 1—2, 3—4 alphabetical list, 1—2 in applets, defined, in dialog boxes, 1, examples, 1, international considerations, 1, in labels, 1, and supplied graphics, table of common assignments, modal dialog boxes, modeless dialog boxes, models (in components), 1—2 modifier keys, 1, 2—3 Sun - JavaLookandFeelDesign Guidelines, 2ndEdition made by dotneter@teamfly See also keyboard shortcuts; mnemonics mouse buttons, 1—2 mouse operations, 1—2 See also dragging clicking, 1—2, displaying contextual menus, mouse-over feedback, 1, move pointers, movies, supplied graphics for, moving through time-based media, supplied graphics for, 1—2 multiplatform design, recommended reading, multiple document interface (MDI), 1—2 Return to the top of the index N native code, navigation, 1—2 See also keyboard operations accessibility considerations, 1, between components, defined, keyboard, 1—2 supplied graphics for, 1—2 tab traversal, 1, 2, tables of keyboard operations, 1—2 through text fields, 1—2 nested panes, 1, 2, New item (File menu), supplied graphics for, new object indicators, 1—2 nodes, in tree components, 1—2 noneditable combo boxes, 1—2 See also combo boxes noneditable text fields, See also text fields null passwords, Return to the top of the index O object-oriented graphics, supplied, 1—2 OK button, 1, Open item (File menu), supplied graphics for, Sun - JavaLookandFeelDesign Guidelines, 2ndEdition made by dotneter@teamfly operational feedback, 1—2 option buttons See radio buttons Option key, Return to the top of the index P padding See spacing and alignment Page Down key, 1, Page Setup item (File menu), supplied graphics for, Page Up key, 1, palette windows See internal utility windows; utility windows palettes, color, 1, 2, See also color choosers; colors panels, 1—2, panes See scroll panes; split panes; tabbed panes password fields, 1—2, 3—4 Paste item (Edit menu), supplied graphics for, plain windows, 1—2, 3—4 platform-specific design, recommended reading, 1—2 pluggable lookandfeel architecture, 1—2 See also Javalookandfeel plug-in editor kits See editor panes pointers, 1—2 changing shape of, 1, 2, 3, table of Java platform types, pop-up menus See combo boxes; contextual menus pop-up windows See dialog boxes posting menus, 1, pre-dithered gradients, 1—2, 3, 4—5 See also application graphics preferences dialog boxes, 1—2, 3—4, 5—6, preferences indicators, 1—2 primary colors, in Javalookand feel, 1, primary windows, 1—2 See also windows defined, platform-specific examples, 1, principles of design, 1—2 accessibility, 1—2 applets and, 1—2 internationalization and, 1—2 recommended reading, 1—2 Print item (File menu), supplied graphics for, Sun - JavaLookandFeelDesign Guidelines, 2ndEdition made by dotneter@teamfly product names, 1, progress animation, 1—2 progress bars, 1, 2—3 color design for, 1, defined, progress dialog boxes, 1, 2—3 progress feedback, 1—2 See also feedback properties indicators, 1—2 Properties item, supplied graphics for, Return to the top of the index Q Question alert boxes, question symbols, Quit See Exit item Return to the top of the index R radio button menu items, example, keyboard operations for, 1—2 radio buttons, capitalization of text with, example, keyboard operations for, 1—2 in menus, spacing of, reading order and localization, 1—2 recommended reading, 1—2 Redo item (Edit menu), supplied graphics for, Reset button, resize pointers, resource bundles, 1, 2, Retirement Savings Calculator applet, 1—2 Return key, 1, 2, 3, 4, 5, reverse video, RMI-IIOP (Remote Method Invocation-Internet Inter-ORB Protocol), rollovers See mouse-over feedback rows in tables Sun - JavaLookandFeelDesign Guidelines, 2ndEdition made by dotneter@teamfly selecting, 1—2 sorting, supplied graphics for, RTF editor kit, Return to the top of the index S Save As item (File menu), supplied graphics for, Save item (File menu), supplied graphics for, screen display updates, supplied graphics for, 1—2 screen readers, 1, See also accessibility scroll arrows, 1—2 scroll boxes, color design for, 1, example, scroll panes, 1, 2—3, 4—5 scrollbars, 1—2 example, internationalization considerations, keyboard operations for, 1—2 in list components, in tables, search operations, supplied graphics for, 1—2 secondary colors, in Javalookand feel, 1, 2, 3, 4, secondary menus See submenus secondary windows, 1, 2—3 See also alert boxes; dialog boxes security of information, in applets, selectable lists, 1—2 See also list components selection, 1—2, of items in list components, 1—2 of items in selectable lists, of table cells, 1—2 of table columns, 1—2 of table rows, 1—2 of text fields, 1—2 sentence capitalization style, separators, 1, servers, supplied graphics for, servlets, settings indicators, 1—2 Sun - JavaLookandFeelDesign Guidelines, 2ndEdition made by dotneter@teamfly shadows, color design for, 1, Shift key, 1, 2, 3, 4, shortcut keys See keyboard shortcuts shortcut menus See contextual menus sliders, 1—2 capitalization of text with, defined, drag texture in, example, keyboard operations for, small type style, in Javalookand feel, 1, sorting order and localization, spacebar, 1, spacing and alignment, 1—2 in alert boxes, inside button graphics, of checkboxes, 1, of command buttons, 1—2, between components, 1—2 design grids and, 1—2 in dialog boxes, 1—2 of labels, 1, layout managers and, 1, in login dialog boxes, of radio buttons, in tables, of text, 1—2, of titled borders, 1—2 of toggle buttons, 1—2 of toolbar buttons, splash screens, 1—2, 3—4 split panes, 1—2 drag texture in, keyboard operations for, splitter bars, standard menus See drop-down menus status animation, 1—2 status messages, 1—2 Stop button, styled text editor kit, 1, 2—3 submenus, 1—2 See also menus defined, keyboard operations for, Sun - JavaLookandFeelDesign Guidelines, 2ndEdition made by dotneter@teamfly Swing classes, Swing See JFC switching lookandfeel designs, 1—2 symbols, 1, 2—3 system colors, system type style, in Javalookand feel, 1, Return to the top of the index T Tab key, 1, 2, 3, tab traversal, 1, tabbed panes, 1—2 capitalization of tab names, keyboard operations for, tables, 1—2 cell background color, editing cells, example, font design for, format options, keyboard operations for, 1—2 reordering columns, resizing columns, 1—2 scrolling in, selectable lists and, selecting cells, 1—2 selecting columns, 1—2 selecting rows, 1—2 selection techniques in, sorting rows, supplied graphics for, 1—2 text, 1—2 See also editor panes; fonts; labels; password fields; text areas; text fields in buttons, 1—2, 3, capitalization in interface, 1—2 color design for, internationalization and, 1, 2, pointers, selection, 1, spacing and alignment, 1—2, supplied graphics for, 1—2 use in labels, Sun - JavaLookandFeelDesign Guidelines, 2ndEdition made by dotneter@teamfly text areas, 1—2, 3—4 text fields, 1—2 in combo boxes, 1, design for smooth interaction, 1—2 examples, 1, font design for, keyboard operations for, selectable lists and, 1—2 in sliders, themes, 1—2 three-dimensional effects See flush 3D effects thumbs See scroll boxes; sliders tip of the day, supplied graphics for, title bars See also window titles alert box examples, capitalization of text in, color design for, 1, dialog box examples, dragging, text in, 1—2 window examples, titled borders, 1—2 toggle buttons, 1—2 See also button graphics; command buttons; toolbar buttons example, keyboard operations for, tool tips, 1—2 and accessibility, 1, capitalization of, font design for, keyboard operations for, timing of, for toolbar buttons, toolbar buttons, 1—2 See also button graphics; command buttons; toggle buttons badges in, 1—2 examples, 1, graphics in, 1—2 with menus, 1—2 spacing of, text in, tool tips for, toolbars, 1—2 Sun - JavaLookandFeelDesign Guidelines, 2ndEdition made by dotneter@teamfly docking, 1—2 examples, 1, keyboard operations for, spacing of buttons in, tool tips for, top-level containers, 1—2 See also dialog boxes; plain windows; primary windows; utility windows trademarks, 1, translated text, 1—2 for Stop button, word lists for localization, 1—2 tree components, 1—2 font design for, keyboard operations for, 1—2 tree views See tree components triangles See drop-down arrows triple-clicking, 1, turners, 1—2 twinkle graphics, 1—2 type styles in Javalookand feel, supplied graphics for, 1—2 typography See fonts; text Return to the top of the index U unavailable components, spacing of, 1—2 unavailable menu items, 1, Undo item (Edit menu), supplied graphics for, usability studies accessibility issues, interaction issues, internationalization, user type style, in Javalookand feel, 1, utility windows, 1—2 defined, keyboard operations for, Return to the top of the index V Sun - JavaLookandFeelDesign Guidelines, 2ndEdition made by dotneter@teamfly version numbers, in About box, vertical spacing See spacing and alignment vertical traversal, supplied graphics for, 1—2 View menu, keyboard shortcut in, mnemonics in, 1—2 visual design, 1—2 See also application graphics; colors; spacing and alignment visual identifiers, product, 1, Return to the top of the index W wait pointers, 1, WAR files, supplied graphics for, 1—2 Warning alert boxes, 1, 2—3 warning symbols, web components, supplied graphics for, 1—2 web See applets web-safe colors, 1, white, use in Javalookand feel, 1, window controls close controls, 1, 2, 3, in internal windows, in plain windows, 1—2 platform-specific examples, in primary windows, 1—2 window titles capitalization of text in, 1, font design for, for internal windows, for primary windows, for secondary windows, for user documents, windows, 1—2 See also alert boxes; dialog boxes active, 1, 2, browser, 1, 2—3, 4—5 capitalization of titles, 1, color design for, 1, 2, frames and, internal, internal utility, 1—2 keyboard focus, Sun - JavaLookandFeelDesign Guidelines, 2ndEdition made by dotneter@teamfly keyboard operations for, 1—2 in MDIs, panels and panes in, 1—2, 3—4 plain, 1—2, 3—4 platform-specific examples, 1, primary, 1, 2—3 secondary, 1, 2—3 title text in, 1, 2, 3, 4—5 as top-level containers, 1—2 utility, 1, 2—3 Windows See Microsoft Windows lookandfeel word lists for localization, 1—2 word order and localization, word wrap, in text areas, 1—2 Return to the top of the index Z zoom box See window controls zoom buttons, 1—2 zooming panes, zooming, supplied graphics for, 1—2 Colophon Second Edition LEAD WRITER Patria Brown LEAD HUMAN INTERFACE DESIGNER Teresa Roberts MANAGING EDITOR Sue Factor GRAPHIC DESIGNER AND COVER ART Bruce Lee PRODUCTION EDITOR Bob Silva Sun - JavaLookandFeelDesign Guidelines, 2ndEdition made by dotneter@teamfly MANAGEMENT TEAM Anant Kartik Mithal, Teresa Roberts, Lynn Weaver GUIDELINE CONTRIBUTORS Michael Albers, David-John Burrowes, Jeff Dunn, Don Gentner, Robin Jeffries, Bruce Lee, Teresa Roberts, Harry Vertelney CODE SAMPLE CONTRIBUTORS Jeff Dunn and Peter Zavadsky CD-ROM WRITER Jason Duran Special thanks to Don Gentner for his work on the first editionand for considerable contributions to the second edition before his retirement Grateful acknowledgments to Susanne Andersson, Marney Beard, Jim Dibble, Jeff Dunn, Earl Johnson, Dave Mendenhall, Mike Mohageg, Lynn Monsanto, Jennifer Ofiana, Raj Premkumar, Moazam Raja, Luke Shi, Young Song, Terri Walton, and the SOLVE team This book was written on Sun Microsystems workstations using Adobe® FrameMaker software PostScript files were digitally imposed and then printed computer-to-plate on a Creo iMPAct system Line art was created using Adobe Illustrator Screen shots were edited in Adobe Photoshop Text type is SunSans and bullets are ITC Zapf Dingbats Courier is used for computer voice The online version was created using WebWorks Publisher Professional Edition First Edition LEAD WRITER Patria Brown WRITERS Patria Brown, Gail Chappell LEAD HUMAN INTERFACE DESIGNER Don Gentner JAVALOOKANDFEEL CREATOR Chris Ryan Sun - JavaLookandFeelDesign Guidelines, 2ndEdition made by dotneter@teamfly MANAGING EDITOR Sue Factor GRAPHIC DESIGNER Gary Ashcavai ILLUSTRATORS Gary Ashcavai, Don Gentner, Chris Ryan PRODUCTION EDITOR Bob Silva PRODUCT MARKETING MANAGER Christine Bodo MANAGEMENT TEAM Laine Yerga, Lynn Weaver, Rob Patten GUIDELINE CONTRIBUTORS Don Gentner, Chris Ryan, Michael C Albers, Brian Beck, David-John Burrowes, Carola Fellenz, Robin Jeffries, Earl Johnson, Jeff Shapiro, Dena Shumila Special thanks to Jonathan Schwartz and the Enterprise Products Group in Java Software Grateful acknowledgments to Ruth Anderson, Maria Capucciati, Tom Dayton, Martine Freiberger, Janice Gelb, Dale Green, Mary Hamilton, George Kaempf, Andrea Mankoski, Anant Kartik Mithal, Moggy O'Donovan, Ray Ryan, Scott Ryder, Tom Santos, the Swing Team, Harry Vertelney, Willie Walker, Steve Wilson, and all our internal and external reviewers ... 2001 Sun - Java Look and Feel Design Guidelines, 2nd Edition Contents Contents Foreword by James Gosling Preface Part I: Overview 1: The Java Look and Feel Fundamentals of the Java Look and Feel. .. a design that is clean and elegant James A Gosling Vice President, Sun Labs Research Sun - Java Look and Feel Design Guidelines, 2nd Edition made by dotneter@teamfly Preface Java Look and Feel. .. Java API Sun - Java Look and Feel Design Guidelines, 2nd Edition made by dotneter@teamfly Sun Microsystems, Inc Java Look and Feel Design Guidelines, 2d ed Available: http:/ /java. sun.com/products/jlf