How to add a picture to the java project. When debugging, the picture is displayed, but after the project is assembled in the jar, there is no picture.
systemTray = SystemTray.getSystemTray(); Image image = Toolkit.getDefaultToolkit().getImage("src\\images\\logo-main2.png"); TrayIcon trayIcon = new TrayIcon(image , "GrindFM", popupMenu); trayIcon.setImageAutoSize(true); systemTray.add(trayIcon); 
