Java Desktop Path Get getDesktopPath()

Here you can find the source of getDesktopPath()

Description

get Desktop Path

License

Apache License

Declaration

public static String getDesktopPath() 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.io.File;

public class Main {
    public static String getDesktopPath() {
        return System.getProperty("user.home") + File.separator + "Desktop";
    }//from w ww. ja v a2s.  com
}