The thing I want to implement is the next UI hierarchy in my Swing application.
- Main Window (JFrame)
- Modal dialog (JDialog) in front of this window. It’s opened by clicking on the button in main window.
- The set of windows in front of modal dialog (2). They should be independent from each other and non-blocking for modal jdialog (2).
How can I code this?
Specify the owner when you create the JDialogs. Read the JDialog API for the proper constructor to use. I would guse the owner of the dialog in point 3 would be the dialog in point 2.