owner « Dialog « Java Swing Q&A





1. Change the owner of a JDialog    stackoverflow.com

I have a very specific problem, and I wanted to know if there is a way to change the owner of a JDialog (it can be set using the constructor). I ...

2. JDialog "owner"    coderanch.com

Dialogs are attached to their parent frames. For example, if you minimize the parent frame, the dialog will also disappear. Passing a null value as the parent doesn't cause any major errors. However, it can cause some unintended behavior in the dialog, such as the dialog staying visible even though all the other frames in the parent application have been closed. ...

3. Setting owner of JDialog    coderanch.com

At first, I was creating the dialog whenever the user pressed the button to bring it up. However, this was not working out too well, as this tree is being populated with data from the DB everytime it is created. And it seemed to take about 10-15 seconds for the data to all come in, which was way too long to ...