File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Searching for Article: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Searching for Article: "Creating Modal Internal Frames"" Watch "Searching for Article: "Creating Modal Internal Frames"" New topic

Searching for Article: "Creating Modal Internal Frames"

Avi Abrami
Ranch Hand

Joined: Oct 11, 2000
Posts: 1141

I am searching for an article on the Internet entitled "Creating Modal Internal Frames"
The URL for this article is:

However, that URL returns a 404 status.
Perhaps someone can provide an alternative URL?

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
You're in luck; I happen to have a copy of that article around.
Darryl Burke

Joined: May 03, 2008
Posts: 5115

The article states
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)

luck, db
There are no new questions, but there may be new answers.
Avi Abrami
Ranch Hand

Joined: Oct 11, 2000
Posts: 1141

Thank you Ulf.

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.

I agree. Here's the link:
subject: Searching for Article: "Creating Modal Internal Frames"
It's not a secret anymore!