Hi
I have been trying to change the java icon to my custom icon so that it will appear in the task bar and client frame. I have went into Jframe and this is what I saw
Code:
public void setClientIcon() {
Image img = Client.resourceLoader.getImage("icon");
if(img == null)
return;
frame.setIconImage(img);
}
I*added .png so it was "icon.png". The image path is com\arlania\images. I looked within the resourceloarder.java file and also added the path to the file.
Code:
public static Image loadImage(String imageName) {
URL url = null;
try {
url = rl.getClass().getResource("images/" + imageName);
} catch (Exception e) {
e.printStackTrace();
}
I have also tried almost every method online and I just cant seem to get it working. I don't have any errors when running the client. I am using a ruse base client. My discord is*Kishan#9476.