• Post Reply Bookmark Topic Watch Topic
  • New Topic

JOptionPane and modality.  RSS feed

 
hernan silberman
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • 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
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!