[Plugin Dev] How to create a File picker jie du Created July 09, 2013 08:09 How to create a File picker, do we have any openapi
I coded like this, this is worked. thanks everyone .
String path = "/Users/twer/Downloads/";
VirtualFile[] files = FileChooser.chooseFiles(FileChooserDescriptorFactory.createSingleFolderDescriptor(), event.getProject(), null);
if (files.length > 0) {
path = files[0].getPath();
}