Swing windows, frames, and dialogs are heavyweight components that extend the AWT
Dialog classes, respectively. 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, some of the properties associated with the three components are listed in Table 14-1.
Table 14-1. Window, Frame, and Dialog Properties ...