Here you can find the source of getResourcePath()
public static String getResourcePath()
//package com.java2s; //License from project: Apache License import java.io.File; public class Main { public static String getResourcePath() { return getHome() + File.separator + "resource\\"; }/*from www . ja v a2s .c o m*/ public static String getHome() { return System.getProperty("user.dir"); } }