pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Gao <david...@gmail.com>
Subject How to select a directory/file using FileBrowserSheet
Date Fri, 14 May 2010 14:36:06 GMT
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<body bgcolor="#ffffff" text="#000099">
I'm writing a file chooser now. I found that I can only select a file
when the mode is SAVE_AS and a directory when the mode is SAVE_TO.<br>
I would like a mode in which I can select either a file or a directory.
I find no way to realize this. Please help.<br>
My use case is something like what Swing JFileChoose does below:<br>
JFileChooser chooser = new JFileChooser();<br>
int returnVal = chooser.showOpenDialog(this);<br>
Please help<br>

View raw message