Dialog

Palette category
AWT
Palette bean
Dialog
Project
Java class libraries
Package
java.awt
Type
Dialog

Use a Dialog bean to provide a custom dialog. A dialog is typically used to display or gather information for a single purpose.

The Dialog bean supports a client component in which to place other components. The default client component is a Panel bean named ContentsPane. You can delete the default client and replace it with another container component.

Use a JDialog bean, rather than a Dialog bean, if you want to use Swing components in the dialog. Although Swing and AWT beans can be mixed, it is inadvisable.


Related procedures
Composing a Window

Related references
Window Beans
Beans for Visual Composition