I started studying JAVA SE, wrote a simple program, made the executable jar, launched it, almost everything is fine, but for some reason the window icon (upper left corner) disappeared. I added this icon to the notification area, but it is also not there, and without it, something is not right, an empty space is obtained. Tell me why the icons disappeared and how to fix it? Icon added using

new TrayIcon(new ImageIcon("src/timer/images/trayIcon.gif").getImage(), "Название программы", trayMenu); 
  • TrayIcon ?? - smackmychi
  • Yes! But this feature for the notification bar icon! And the window icon ImageIcon imageIcon = new ImageIcon ("src / test / images / trayIcon.gif"); setIconImage (imageIcon.getImage ()); - sew810i9

0