FileSystemView fsv = FileSystemView.getFileSystemView();
String desktopPath = fsv.getHomeDirectory().toString();
How to get Desktop path?
Guess you like
Origin www.cnblogs.com/longmenzhitong/p/11116098.html
Recommended
Ranking