I have a Swing Application with a Desktop & JInternal Frames & I call a Modal Dialog. When the dialog pops up, you cant access anything in the Desktop - this is fine. But, when you click on the Desktop, the Dialog shoots to the back. Is there anyway I can force the dialog to be to the Front until it is closed?
I know that it is only modal to the Application. Dave metnioned that he had a Desktop with Internal Frames, hense, a JDesktop. I was under the impression that he meant HIS desktop, not the OS Desktop. In that case, setting it to the parent JFrame in the JDesktop Pane would solve his problem, if that was the mistake. It would help if people who are posting these questions would be a little more specific in thier question. That way, there wouldn't be so much confusion in the answers.