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

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