Ok, I have a list of objects. I need to show Modal JDialog, and then pass it this list of objects and make it act on them. The problem is that when I call .show (), it captures the EDT. The ideal situation would be to pass the list to the constructor, and then, when the dialog box is shown, execute this function. In C #, I would use the Loaded event to do this, but how to do it, JDialog eludes me.
Thoughts?
source
share