Chapter 22. Custom Dialogs

Dialogs were introduced in Part IV of Graphic Java—see “java.awt.Dialog”, where we mentioned that the AWT is pretty thin when it comes to dialogs. The AWT provides a basic Dialog class and only one Dialog extension: a FileDialog for selecting a file.

This chapter discusses the implementation of the following custom dialogs that are commonly found in user interface toolkits:

  • WorkDialog

  • MessageDialog

  • YesNoDialog

  • QuestionDialog

Discussing the dialogs listed above should considerably ...

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.