tags:

views:

34

answers:

3

alt text

I'm wondering how I could make this into a popup dialog. I designed this with Netbeans gui editor. I looked at option dialog, but all the examples only had a textfield or a combobox, not more than one thing like I have. So what would be the best way to make this in Java.

+1  A: 

You should extend JDialog

See the dialogs tutorial

Bozho
A: 

You can make a JDialog form

npinti
A: 

You could extend JDialog, then use GridBagLayout to implement GUI like that (actually JFrame also works, you just need to specify some setting like default close operations and stuff), if you use JDialog, set setModel() to true to block other GUI just like a pop up window.

ryf9059