
Chapter 10. Adding document rendering capability 349
Figure 10-1 Viewer architecture
The applet uses the CMBGenericDocViewer class, which is the JFC based
graphical user interface for the document viewer. The class relies on other
classes to handle functions requested by users.
The CMBGenericDocViewer class is composed of a number of default toolbars:
Operation, Annotation, and Page. Using a viewer configuration file, you can
customize the exiting toolbars, and create the new ones.
10.2 Integrating the viewer toolkit
In this section, we integrate the viewer toolkit APIs to our application that we
developed in Chapter 8, “Building a case study ...