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 gu开发者_开发百科i 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.
You should extend JDialog
See the dialogs tutorial
You can make a JDialog form
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.
精彩评论