Java Desktop System Configuration Manager Release 1.1 Developer Guide


Which settings to choose while creating templates depends heavily on the application in question, but the following list may provide some guidelines which settings to use:

The concrete names of the categories and pages are completely up the template developer. There are only two rules to obey:

Choosing an apt:section element or an apt:page element should depend on the following two requirements: You should try to avoid scrolling in the Content Area by restricting the amount of configuration items per page to no more than six. If you are mapping an already existing GUI to the Configuration Manager GUI, you should try to map the application GUI to the Configuration Manager GUI as precisely as possible to optimize usability by recognition. If these two requirements contradict, choose the latter one. If you are considering a deviation in the Configuration Manager GUI from an application GUI, it should be a small one.

Every text displayed on the GUI should present a consistent look. Apply the following capitalization guidelines for text that appears in GUI design elements:

In general, the packages are self-contained. There are only two exceptions: You can reuse resources of other packages (see Localization) and you can reuse chooser definitions of other packages with the apt:extendsChooser attribute (see Basic Data Elements: property, value, constraints). Use this kind of references sparsely and deliberately. References to other packages introduce a dependency to that package and you cannot guarantee that every installation of the Configuration Manager contains the packages that you depend on.

As the Configuration Manager potentially scans every installed package for resource recovery, every resource key should be unique - not only inside your package, but also compared to the other packages. Either use the category hierarchy to prefix the local resource key or create your own hierarchical prefix, for example, by using a structure akin to the Java package structure or by using your product name.

The online help should be designed akin to the HTML files already provided in the standard packages. Include the following lines to allow for proper browser detection and CCS definitions:

<script type="text/javascript" src="/com_sun_web_ui/js/browserVersion.js">
<script type="text/javascript" src="/com_sun_web_ui/js/stylesheet.js">

Use the styles "help-header-1", "help-header-2" and "help-header-3" for title layout.