Conversing with a User with Dialog Boxes
According to several dictionaries, a “dialogue” is an exchange of information between two entities, at least one of whom is a person. Maybe that’s why a window for providing input to an application is called a “dialog box.”
Way back in Chapter 1, you read all about the top-level containers. The examples throughout the book have used the JFrame class as the top-level container of choice. Now you’re going take some time to learn about the JDialog1 container class and dialog boxes in general. This chapter also touches on a few related issues. In Chapter 17, you’ll continue by learning about some ...