241 |
} |
} |
242 |
|
|
243 |
/** |
/** |
244 |
|
* Creates a new JFileChooser object with the specified directory and |
245 |
|
* FileSystemView. |
246 |
|
* |
247 |
|
* @param currentDirectoryPath the directory that should initially be |
248 |
|
* shown the filechooser |
249 |
|
* @param fsv the FileSystemView object to use |
250 |
|
*/ |
251 |
|
public JFileChooser(String currentDirectoryPath, FileSystemView fsv) |
252 |
|
{ |
253 |
|
setup(fsv); |
254 |
|
setCurrentDirectory(fsv.createFileObject(currentDirectoryPath)); |
255 |
|
} |
256 |
|
|
257 |
|
/** |
258 |
* Creates a new JFileChooser object. |
* Creates a new JFileChooser object. |
259 |
* |
* |
260 |
* @param currentDirectory DOCUMENT ME! |
* @param currentDirectory DOCUMENT ME! |