User's Manual

17
Plain Windows
Splash Screens
A splash screen is a window with no standard window decorations (titlebar, close, minimize, maximize icons) that
informs the user that the software is loading and what exactly the program is.
A splash screen in ENICS shall consist of the Innovatec logo, an image for the application, the application logo,
version, and copyright information.
A splash screen should be implemented using
com.innovatec.ui.Jsplash.
The application name, version and
copyright information should appear on all splash screens.Applets
Applets can be broken down into two types, simple and complex. How an applet is displayed depends on what type of
applet it is. A simple applet would consist of one screen, no menus, no toolbars, no status bar. This type of applet
should be displayed within the browser window and should not add the confusion of creating another frame.
A complex applet is one that needs to be interacted with from another frame. A separate frame allows clear
delineation between the applet’s menus, toolbars, statusbar, and the browser’s equivalent. A code snippet for a
complex applet’s frame could look like this:
public void init(){
...
frame = new JFrame();
frame.getContentPane().add( panel );
...
}
public void start(){
...
frame.setVisible( true );
...
}
public void stop(){
...
frame.setVisible( false );
...
}
This will make the applet a non-visual component, and the visual components are added the frame itself.
Buttons
Buttons should be different colors from each other and the background, colors can be repeated, but as far from a
button of the same color as possible.
Toolbars
Icons on toolbars will match icons for buttons and or menus.