The AWT provides three basic components that create a top-level window: Window, Frame, and Dialog.
Windows are the superclass of both frames and dialogs and are also the only component of the three that can be displayed without a border or titlebar. As a result, windows are used when a basic, borderless rectangular region is required, as is the case for either a splash screen or bubble help.
Frames are the component of choice when more than one application window is needed. Frames are the only AWT component that can be iconified or have a menubar attached—both of which are characteristics of a top-level application window.
Finally, dialogs are the only component that can be modal. Modal dialogs not only block input to other windows in ...