Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #4996

Using JFileChooser from modal dialog

From Fred <fred.l.kleinschmidt@gmail.com>
Newsgroups comp.lang.java.gui
Subject Using JFileChooser from modal dialog
Date 2012-02-09 09:59 -0800
Organization http://groups.google.com
Message-ID <02d2e4b3-ab8a-4063-82c9-bd6e991bfac7@lr19g2000pbb.googlegroups.com> (permalink)

Show all headers | View raw


How do I pop up and use a JFileChooser from a modal dialog?

I find the methods setModalExclusionType and setModalityType, but they
are methods of Window and Dialog; when I pop the file chooser using
showDialog(), how do I get access to the window or frame used to
display it so that I can set its modality?
--
Fred K

Back to comp.lang.java.gui | Previous | NextNext in thread | Find similar


Thread

Using JFileChooser from modal dialog Fred <fred.l.kleinschmidt@gmail.com> - 2012-02-09 09:59 -0800
  Re: Using JFileChooser from modal dialog Fred <fred.l.kleinschmidt@gmail.com> - 2012-02-09 14:40 -0800
    Re: Using JFileChooser from modal dialog markspace <-@.> - 2012-02-09 23:07 -0800
  Re: Using JFileChooser from modal dialog gosmith666@gmail.com - 2013-09-10 12:26 -0700
    Re: Using JFileChooser from modal dialog "John B. Matthews" <nospam@nospam.invalid> - 2013-09-11 06:51 -0400

csiph-web