I have a program where I use a JDialog to launch various sub-programs for visualizing data in different ways. The JDialog is modal so that the data can't be changed while it is being visualized. The subprograms are JFrame's because I want there to be a separate "button" in the Windows Taskbar so that I can easily switch between the subprograms which are large enough that they usually overlap on the screen. (ie, that's why I don't solve the following problem by basing my subprograms on JDialog's).<br><br>
The problem is that, in addition to blocking my main program, the modal dialog box is blocking the subprograms as well because they don't recognize the Modal JDialog as their owner. JFrame is descended from java.awt.Window, so it should be able to have an owner, but I can't figure out any way to set the owner.<br><br>
Does anyone have any idea how I can get around this problem?<br><br>