I have written a Swing application which has a main window.
Now I would like to display a configuration dialog before the main window is shown because depending on the output of the configuration dialog, the main window might have to be created differently.
I have read somewhere that a dialog should always have a parent window, however.
What is the proper way to create and display the configuration dialog under these circumstances? Should I make it a JDialog or a regular JFrame?