I am trying to customize the icon for my java swing application with this code
setIconImage(new ImageIcon("logo.png").getImage());
but it shows an error on ImageIcon because it cannot find the character. Can someone help me with a solution?
source
share