O'Reilly logo

Graphic Java™ 1.2, Volume I: AWT, Third Edition by David M. Geary

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 16. Windows, Frames, and Dialogs

The AWT provides three components that display a window on screen: Window, Frame, and Dialog.[1] While all three components are windows, the differences between the three are not always readily apparent, and therefore it can sometimes be difficult to decide which component to use in a given situation. To clarify, As a result, we have summarized the properties of the three components in Table 16-1.

[1] There's also FileDialog, which we will discuss later on.

Table 16-1. Window, Frame, and Dialog Properties[1][2]
Property Window Frame Dialog
Modal No No No/CSG
Resizable

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required