final String packageName = "org/eclipse/swt/tests/junit/"; String pathName = packageName + fileName; URL url = SwtTestCase.class.getClassLoader().getResource(pathName);
String urlPath;
String getPath(String fileName) {	final String packageName = "org/eclipse/swt/tests/junit/";	String pathName = packageName + fileName;	URL url = SwtTestCase.class.getClassLoader().getResource(pathName);		if (url != null) {		pathName = url.getFile();		return pathName.replaceAll("%20", " ");	} else {		return null;	}	}