JFrame object cannot be a container of JDialog object. It can be a owner. For example, you can show a File Dialog on a button (which is present in a frame) click action. You can not include JDialog into JFrame. This is similar to model and mode less dialogs in other languages.
|