• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Searching for Article: "Creating Modal Internal Frames"

 
Ranch Hand
Posts: 1143
1
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You're in luck; I happen to have a copy of that article around.
 
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 1143
1
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
I guess everyone has an angle. Fine, what do you want? Just know that you cannot have this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic