1
I would like to know how to change the icon of a file .jar. Is there any way to do this using Scene Builder?
1
I would like to know how to change the icon of a file .jar. Is there any way to do this using Scene Builder?
4
I don’t think you can change the archive icon. jar, since who defines this is the OS itself (you can even change the icon without using java, but that would change for all . jar that exists on the computer). What I’ve done is change the icon that sits on the taskbar and the program window when it runs using something like this (I don’t have the code with me now, but it’s something very similar):
getFrame().setIconImage(Toolkit.getDefaultToolkit().getImage("caminhoDaImagem"));
What I’ve seen some people do is use an Executable wrapper to "turn" (it doesn’t turn .jar into .exe, but I won’t go into details) the . jar in an executable. Some tools for this are:
Browser other questions tagged java
You are not signed in. Login or sign up in order to post.