The Dialog Classes

Figure 22-1 illustrates the relationships between the dialog classes discussed in this chapter. Three fundamental abstractions are implemented in the dialog classes:

Figure 22-1. Dialog Classes Overview

  • GJTDialog takes care of low-level dialog gruntwork.

  • ButtonPanel is a Panel extension that maintains a row of buttons centered at the bottom of the panel.

  • WorkDialog contains a ButtonPanel and provides a dialog that has a work panel centered in the dialog and a row of buttons at the bottom of the dialog.

GJTDialog

GJTDialog represents the most general abstraction embodied by the dialog classes. GJTDialog takes care of a pair of primitive ...

Get Graphic Java™ 1.2, Volume I: AWT, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.