CHAPTER 16

image

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 ...

Get Swing for Jython: Graphical Jython UI and Scripts Development using Java Swing and WebSphere Application Server 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.