Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Searching for Article: "Creating Modal Internal Frames"

 
Avi Abrami
Ranch Hand
Posts: 1141
1
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're in luck; I happen to have a copy of that article around.
 
Darryl Burke
Bartender
Posts: 5148
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
Avi Abrami
Ranch Hand
Posts: 1141
1
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic