Hi, I'm working on an app that exports a file to a network folder specified on a drop down list using the Desktop API.
File directory = new File("\\\\server\\XML\\Input");
Desktop desktop = null;
if (Desktop.isDesktopSupported()) {
desktop = Desktop.getDesktop();
}
try {
desktop.open(directory);
}catch (IOException e) {
}
It actually opens the folder but before that it opens a "Move Items" and a "Copy Items" dialogs before it actually opens the share folder. Its a pain, is there another way in java to open a folder on the default file explorer?