J2EE Hosting Sun Java Developing Blog

Sun - Java Look and Feel Design Guidelines,

November 21st, 2006

Sun - Java Look and Feel Design Guidelines, 2nd Edition made by dotneter@teamfly Escape Activates Cancel button (does not require keyboard focus) HTML Editor Kits HTML editor kits use the navigation, selection, and activation sequences described in Table 28, plus the two listed here. For details on the appearance and behavior of this component, see HTML Editor Kit. Table 18 Keyboard Operations for HTML Panes Keyboard Operation Action Tab, Ctrl-Tab, Shift-Tab, Ctrl-Shift-Tab Navigates to link and other focusable elements (click here for a description of the directions associated with these keyboard operations) Enter, Return, spacebar Activates link List Components The actions listed in the following table assume multiple selection in list boxes and selectable lists. For more information on the appearance, behavior, and selection of these components, see List Boxes and Selectable Lists. Table 19 Keyboard Operations for Lists Keyboard Operation Action Up arrow Moves focus up one row or line and selects the item Down arrow Moves focus down one row or line and selects the item Page Up Moves focus up one information pane minus one line, selecting the first line in the information pane Page Down Moves focus down one information pane minus one line, selecting the last line in the information pane Home, Ctrl-Home Moves focus to beginning of list End, Ctrl-End Moves focus to end of list Ctrl-A, Ctrl-/ Selects all items in list Ctrl- Deselects all items in list
Note: If you are looking for cheap and reliable provider to host and run your servlet application check Vision servlet hosting services

Sun - Java Look and Feel Design Guidelines,

November 21st, 2006

Sun - Java Look and Feel Design Guidelines, 2nd Edition made by dotneter@teamfly Z Zoom In (View menu) Checkboxes The following table lists the keyboard operation for checkboxes. For more information on this component, see Checkboxes. Table 15 Keyboard Operation for Checkboxes Keyboard Operation Action Spacebar Switches the setting of the checkbox Combo Boxes The following table lists the keyboard operations for combo boxes. For details on this component, see Combo Boxes. Table 16 Keyboard Operations for Combo Boxes Keyboard Operation Action Spacebar, down arrow, Alt-down arrow Posts associated list Up arrow, down arrow When menu is posted, moves highlight up or down within list, selecting highlighted item Enter, Return, spacebar Closes list, maintaining latest selection Escape Closes list, returning to prior selection Command Buttons The following table lists the keyboard operations for command buttons. For more information on this component, see Command Buttons. Table 17 eyboard Operations for Command Buttons KKeyboard Operation Action Spacebar Activates command button that has keyboard focus Enter, Return Activates default button (does not require keyboard focus)
Note: If you are looking for cheap and reliable provider to host and run your servlet application check Vision servlet hosting services

Sun - Java Look and Feel Design Guidelines,

November 20th, 2006

Sun - Java Look and Feel Design Guidelines, 2nd Edition made by dotneter@teamfly Common Mnemonics The following table provides an alphabetically sorted list of common mnemonics for menu items within the common menus. Use this table to determine which mnemonics are used and which are available. For a list of common mnemonics organized by the common order in menus, see Table 9. Letter Table 13 Alphabetical List of Common Mnemonics Menu Items A B Select All (Edit menu), Save As (File menu), About Application (Help menu) Bold (Format menu) C Copy (Edit menu), Close (File menu), Align Center (Format menu), Contents (Help menu) D E Delete (Edit menu), Details (View menu) Edit menu F G File menu, Find (Edit menu), Filter (View menu) Large Icons (View menu) H Help menu I L M Index (Help menu), Italic (Format menu) Align Left (Format menu), List (View menu) Small Icons (View menu) N O P R S T U V Find Again (Edit menu), New (File menu) Open (File menu), Zoom Out (View menu) Paste (Edit menu), Print (File menu) Format menu, Redo (Edit menu), Align Right (Format menu), Refresh (View menu) Save (File menu), Search (Help menu), Sort By (View menu) Cut (Edit menu), Tutorial (Help menu) Undo (Edit menu), Page Setup (File menu), Underline (Format menu) View menu X Exit (File menu)

Note: If you are looking for good and affordable webspace to host and run your servlet application check Virtualwebstudio servlet hosting services

Sun - Java Look and Feel Design Guidelines,

November 20th, 2006

Sun - Java Look and Feel Design Guidelines, 2nd Edition made by dotneter@teamfly function in the foreseeable future.) For a table of keyboard shortcuts organized according to menus, see Table 8. Table 12 Alphabetical List of Common Keyboard Shortcuts Sequence Equivalent Ctrl-A Select All (Edit menu) Ctrl-B Bold (Format menu) Ctrl-C Copy (Edit menu) Ctrl-E Align Center (Format menu) Ctrl-F Find (Edit menu) Ctrl-G Find Again (Edit menu) Ctrl-H Replace (Edit menu) Ctrl-I Italic (Format menu) Ctrl-L Align Left (Format menu) Ctrl-N New (File menu) Ctrl-O Open (File menu) Ctrl-P Print (File menu) Ctrl-R Align Right (Format menu) Ctrl-S Save (File menu) Ctrl-U Underline (Format menu) Ctrl-V Paste (Edit menu) Ctrl-W Close (File menu) Ctrl-X Cut (Edit menu) Ctrl-Y Redo (Edit menu) Ctrl-Z Undo (Edit menu) Delete Delete (Edit menu) F1 Help F5 Refresh Shift-F1 Contextual help

Note: If you are looking for good and affordable webspace to host and run your servlet application check Virtualwebstudio servlet hosting services

Sun - Java Look and Feel Design Guidelines,

November 20th, 2006

Sun - Java Look and Feel Design Guidelines, 2nd Edition made by dotneter@teamfly In general, navigating between components uses these keys: Tab. Moves keyboard focus to the next component or to the first member of the next group of components (the upper-left component in left-to-right reading order). Ctrl-Tab. Moves keyboard focus to the next component or to the first member of the next group of components when the current component accepts a tab (as in text fields, tables, text areas, and tabbed panes). Shift-Tab. Moves keyboard focus to the previous component or to the last component in the previous group of components in precisely the reverse order of the navigation specified by pressing Tab. Ctrl-Shift-Tab. Moves keyboard focus to the previous component or to the last component in the previous group of components in precisely the reverse order of the navigation specified by pressing Tab. Ctrl-Shift-Tab works when the current component accepts tabs. Arrow keys. Move keyboard focus between the individual components within a group of components–for example, between menu items in a menu, between tabs in a tabbed pane, or from character to character in a text field or text component. Some actions in the table list several possible keyboard operations, separated by a comma. For example, both Home and Ctrl-Home move focus to the beginning of a list. Ensure that you provide multiple operations that take into account the differences between operating environments if your application runs on several. Some of the keyboard operations described in the following tables might be temporarily incomplete or not implemented. However, these key sequences should be reserved for future versions of the JFC and the Java 2 platform. The arrow keys are insensitive to the component orientation feature in the Java 2 SDK. (Component orientation is the automatic positioning of components to reflect the writing system of a locale–for instance, left to right, or right to left.) For example, the right arrow moves the action right regardless of the orientation of the locale. Common Keyboard Shortcuts The following table provides an alphabetically sorted list of common keyboard shortcuts. Use this table to see which keyboard shortcuts are used and which are available. (You can use these shortcuts for other purposes if your application does not provide the associated function and will not add that
Note: If you are looking for good and high quality web space to host and run your java application check Vision java hosting services

Sun - Java Look and Feel Design Guidelines,

November 20th, 2006

Sun - Java Look and Feel Design Guidelines, 2nd Edition made by dotneter@teamfly To start editing a node in a tree component, users can: Click, pause, click, and wait 1200 milliseconds Triple-click Press F2 when a node is selected Setting the editable property to true enables editing of all nodes in the tree. Part IV: Backmatter This part consists of: Appendix A: Keyboard Shortcuts, Mnemonics, and Other Keyboard Operations Appendix B: Graphics Repository Appendix C: Localization Word Lists Appendix D: Switching Look and Feel Designs Glossary A: Keyboard Shortcuts, Mnemonics, and Other Keyboard Operations This appendix presents common keyboard shortcuts and mnemonics in alphabetical order and summarizes JFC-supplied keyboard navigation, activation, and selection operations in a series of tables (arranged alphabetically by component). The left column describes a keyboard operation (for example, left arrow key) and the right column of each table describes the corresponding action (for example, moving focus to the left). Navigating means to move the input focus from one user interface component to another; activating refers to operating the component; selecting means to choose one or more user objects such as text or icons, typically for a subsequent action. For an overview of these concepts, see Keyboard Navigation and Activation.
Note: If you are looking for good and high quality web space to host and run your java application check Vision java hosting services

Sun - Java Look and Feel Design Guidelines,

November 20th, 2006

Sun - Java Look and Feel Design Guidelines, 2nd Edition made by dotneter@teamfly separate the top-level nodes, as shown in Figure 199. The third option is to draw lines that define the hierarchical relationships of the nodes, as shown in the following figure. Figure 200 Tree Component With Hierarchy Lines If your tree component contains three or more levels, use lines to delineate the hierarchical relationships of the nodes. The client property JTree.lineStyle can be set to None to display no lines, to Horizontal to display top-level lines, and to Angled to display hierarchy lines. Graphics in Tree Components You can substitute your own graphics for the JFC-supplied container and leaf node graphics. For example, if your hierarchy represents the clients and servers in a network, you might include graphic representations of the clients and servers. In Figure 200, a custom music graphic is used for the leaf nodes. You might also use separate graphics to show when a container is expanded and when it is collapsed. Editing in Tree Components You can enable users to edit the text in a tree component. When editing is enabled, users can change text using the same editing commands that they use for text fields. These commands are described in Editable Text Fields.

Hint: If you are looking for very good and affordable webspace to host and run your tomcat hosting application check Virtualwebstudio tomcat web hosting provider

Sun - Java Look and Feel Design Guidelines,

November 20th, 2006

Sun - Java Look and Feel Design Guidelines, 2nd Edition made by dotneter@teamfly Click here to view the corresponding code for Figure 199 (also available on the book’s companion CD-ROM). Figure 199 Tree Component With Top-Level Lines Users can click a right-pointing turner to expand its container so that the contents are visible in the tree component. The turner rotates to point downward. Clicking a downward-pointing turner collapses its container so that the contents are no longer visible. For the keyboard operations that are appropriate for tree components, see Table 33. In most tree components, display the second level of the hierarchy as your highest level. Your outline will be easier to use if you do not display the root node. Display turners for all containers in the tree component, including the containers at the highest level. Turners remind users that they can expand and collapse the node. Setting the rootVisible property of the tree component to false turns off the display of the root node. Setting the showsRootHandles of the tree component to true turns on the display of turners for the highest-level containers. Lines in Tree Components The JFC provides three options for including lines in a tree component. The first option is not to include any lines. The second option is to draw lines that

Hint: If you are looking for very good and affordable webspace to host and run your tomcat hosting application check Virtualwebstudio tomcat web hosting provider

Sun - Java Look and Feel Design Guidelines,

November 19th, 2006

Sun - Java Look and Feel Design Guidelines, 2nd Edition made by dotneter@teamfly Give your users as much flexibility in your selection scheme as makes sense for your application. Enable selection of a range or multiple ranges if you can. Tree Components A tree component represents a set of hierarchical data in the form of an indented outline, which users can expand and collapse. Tree components are useful for displaying data such as the folders and files in a file system or the table of contents in a help system. A tree component consists of nodes. The top-level node, from which all other nodes branch, is the root node. Nodes that might have subnodes are called “containers.” All other nodes are called “leaves.” The default icon for a container is a folder, and the default icon for a leaf is a file. Each node is accompanied by text. Turners appear next to each container in the tree component. The turner points right when the container is collapsed and down when the container is expanded. In the following figure, the Projects, Fire station, First floor, and Landscaping nodes are expanded containers; all the other containers are collapsed. Landscaping is a container without subnodes. Communications, Garage, and Shop are leaves. The turner, container, and leaf graphics shown in Figure 199 are the default graphics provided by the JFC.
Note: If you are looking for reliable and quality webspace company to host and run your servlet application check Actions servlet hosting services

Sun - Java Look and Feel Design Guidelines,

November 19th, 2006

Sun - Java Look and Feel Design Guidelines, 2nd Edition made by dotneter@teamfly In range selection, the selection always extends from the column with the anchor point to the column where the user has Shift-clicked. If users Shift-click within an existing selection, the selection becomes smaller. Multiple Ranges of Columns You can enable users to select a single column, a range of columns, or multiple-column ranges (also known as “discontinuous,” “discontiguous,” or “disjoint” ranges). Users select a single column by clicking any cell in the column and extend the selection by Shift-clicking. To start another range, users Control-click any cell in the column. The cell gets keyboard focus and becomes the anchor point of the range. The selection of the column toggles as follows: If the column is not already selected, it is selected. A subsequent Shift-click selects all columns from the anchor point to the column where the user Shift-clicked. If the column is within an existing selection, the column is deselected. A subsequent Shift-click deselects all columns from the anchor point to the column where the user Shift-clicked. Users can also select or deselect another range by dragging through the range while holding down the Control key. In the following figure, the user has clicked Peter and then Shift-clicked Amann. The user has selected another range by Control-clicking Krakatoa, which has keyboard focus and can be edited, as indicated by its white background. Figure 198 Multiple Ranges of Selected Columns
Note: If you are looking for reliable and quality webspace company to host and run your servlet application check Actions servlet hosting services

« Previous Entries   Next Entries »