wood burning stoves 2.0*
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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
Author

Searching for Article: "Creating Modal Internal Frames"

Avi Abrami
Ranch Hand

Joined: Oct 11, 2000
Posts: 1131

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

http://java.sun.com/developer/JDCTechTips/2001/tt1220.html

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

Thanks,
Avi.
Ulf Dittmer
Marshal

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


Ping & DNS - my free Android networking tools app
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4530
    
    5

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: 1131

Thank you Ulf.

Darryl,
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.

Cheers,
Avi.
 
wood burning stoves
 
subject: Searching for Article: "Creating Modal Internal Frames"