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

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