User Guide
How to develop Java
TM
Applications for the Nokia 9210 Communicator
Version 1.1
Copyright © 2001. Nokia Mobile phones. All rights reserved. 6
Screen size (resolution 640 x 200) should be taken into account. The developer should also
notice that certain areas in the display make use of the screen. Figure 1 shows a typical
screenshot of the Nokia 9210 Communicator display. The Indicator and Command Button Areas
have two different sizes or they can be hidden.
FIGURE 1. Typical view of the Nokia 9210 Communicator screen
3.2 Abstract Window Toolkit (AWT) interfaces
The Java programming language provides a class library called the Abstract Window Toolkit
(AWT) that contains a number of common graphical widgets. You can add these widgets to your
display area and position them with a layout manager.
A typical UI designed for a PC screen may not be efficient enough in the screen of the Nokia
9210 Communicator. It is recommended that application developers take advantage of the
Crystal platform's UI features. Certain APIs for Nokia 9210 Communicator specific display
features are included:
• Command Button Area API
• Status Pane API
• Virtual Cursor API
3.3 Command Button Area API
The Command Button Area is the recommended method of allowing the user to choose
commands simply and rapidly. Crystal provides a class in the com.symbian.epoc.awt package that
allows Java programs to create Command Button Areas and receive events from them. The API
can be used by both applets and applications.










