To display a dialog in an internal frame, you use one of the showInternalXXXDialog methods in JOptionPane. These internal frame dialogs are not modal.
I think that information is dated. I just put this together and it shows that the internal dialog is indeed modal.Until the dialog is dismissed the button can't be clicked. And the sysout only appears in the console after the dialog is closed.
Microsoft Windows XP [Version 5.1.2600]
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
There are no new questions, but there may be new answers.
Yes, methods "showInternalXXXDialog" in class "JOptionPane" are certainly modal in Java 6.
However my problem is to give the displayed dialog a right-to-left component orientation.
I thought the article may provide some assistance in this matter.
subject: Searching for Article: "Creating Modal Internal Frames"