FileChooser with default filename [message #870903] |
Thu, 10 May 2012 04:29  |
Eclipse User |
|
|
|
This is what I want:
String filename = getExportPath() + sapFaufNr;
File[] file = new FileChooser(new File(filename), new String[]{"prd", "ddd"}, false).startChooser();
But FileChooser doesn't allow me to specify a default filename. In fact, if the File provided is not a directory, it is ignored. Right now I am forced to do the following:
String filename = getExportPath() + sapFaufNr; // ignore
File[] file = new FileChooser(new File(getExportPath()), new String[]{"prd", "ddd"}, false).startChooser();
Can this be added or is there some fundamental UI thought that went into this?
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04531 seconds