javax.swing.filechooser.FileSystemView.getFileSystemView().getRoots()
it returns a File[]
in win it return the Desktop
in unix.... it returns C:\;D:\......
it returns a File[]
in win it return the Desktop
in unix.... it returns C:\;D:\......
static File[] listRoots()
List the available filesystem roots.