Using this template, you can design a new JFC (Swing) Dialog.

Dialogs are modal or modeless windows that are typically used to prompt users for input.