I have a problem when i try to change the wallpaper of my windows 10 desktop to a image in my project folder. When i execute my code my desktop gets just a black-screen instate of my image. Here is the code of the Main Class(Core): ```Java
public class Core {
public void setWallpaper(String path) {
User32.INSTANCE.SystemParametersInfoA(0x0014, 0, path, 0x0001 | 0x0002);
}
public String getAbsolutePath(String relativePath){
URL imageURL = getClass().getResource(relativePath);
File imageFile = new File(imageURL.getPath());
return imageFile.getAbsolutePath();
}
public Core(){
setWallpaper(getAbsolutePath("wallpapers/BillCipher.jpg"));
}
public static void main(String[] args) throws Exception {
new Core();
}
And here is the Interface with the JNA stuff to declare the action:Java
public interface User32 extends StdCallLibrary {
User32 INSTANCE = (User32) Native.loadLibrary("user32", User32.class, W32APIOptions.DEFAULT_OPTIONS);
boolean SystemParametersInfoA(int uiAction, int uiParam, String pvParam, int fWinIni);
}```



