The design choices that you make have to be justified in your design document. If you use JDialog instead of JFrame have you good reasoning for the decision ? If not stick with the most common approach and use JFrame.
i used a JFrame, in case if JDialog, inorder to show it you wil need a parent frame to which the dialog will belong. So i guess you will be creating two objects to show a dialog and only one for showing JFrame. and nevertheless, u can achive all that u can in frame as you can in dialog.
Joined: Feb 19, 2002
I use a JDialog without owner, not for particular reason, In the current system of our company, we have a series of windows and we use JDialog much more than JFrame. I decide to find a reason, say easy extension, so that I do not have to change JDialog to JFrame. :roll:
Joined: Aug 21, 2001
leonardo, it doesnt matter if its a JFrame or a JDialog, its just that.. whatever you do, just make sure u have conviction in what you do, cos you have to prove your point there