>>>How can I create not modal File Choosers dialog?
>>
[quoted text clipped - 3 lines]
> createDialog() is protected (don't ask me why). He would have to
> subclass. createDialog() also requires Java 1.4 or newer.
Ah.. Thanks for pointing it out, I hadn't noticed this.
Since the createDialog function had been present on earlier versions of
JDKs for the JOptionPane class (and was public), I assumed it would be
the same case with the JFileChooser as well and didn't bother to read
the fine print :-)
Sorry about the error.
BK
Thomas Weidenfeller - 05 Nov 2003 08:34 GMT
> Ah.. Thanks for pointing it out, I hadn't noticed this.
I just remembered it, because I got caught by it some time ago, too. I
really don't understand why this isn't a public method.
Maybe it would be a good idea for the Swing team to create some common
interface for all the convenience dialogs, so they all can be handled
the same way.
Anyway, maybe someone want's to jump through Sun's hoops and file a bug
report / feature request on this one :-)
/Thomas