Raptrex
Raptrex

Reputation: 4115

Is this possible to make as a option dialog in Java?

alt text http://img202.imageshack.us/img202/2637/dialogo.png

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.

Upvotes: 1

Views: 228

Answers (3)

ryf9059
ryf9059

Reputation: 739

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.

Upvotes: 0

npinti
npinti

Reputation: 52185

You can make a JDialog form

Upvotes: 0

Bozho
Bozho

Reputation: 597372

You should extend JDialog

See the dialogs tutorial

Upvotes: 1

Related Questions