• 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

JOptionPane and modality.

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The "How to Make Dialogs" document on java.sun.com has this mysterious message in it:
---------------------------------------
Note: The internal frames that JOptionPane creates currently behave differently from modal dialogs. They don't behave modally, and in general seem more like frames than like dialogs. For this reason, we don't currently recommend their use."
---------------------------------------
This isn't explained in the API docs, which I find disturbing. Anyhow, I checked the 1.3 and 1.4 API docs and there doesn't appear to be any support for modal "Internal Dialogs" of any sort.
I'm wondering if this is really true, or if there is a workable solution to this dilemma which doesn't involve using JOptionPane static methods on my honest-to-god JFrame that contains my DesktopPane.
Any comments are greatly appreciated.
thanks!
hernan
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic