You need to issue a notification like this.
How to make similar on java . If there is a crutch only for Windows it is also suitable
Tried it , but failed
Tried it, but failed
Not very informative. Here is about the same example, but as simplified as possible:
import java.awt.*; public class Test { public static void main(String[] args) throws Exception { if (SystemTray.isSupported()) { SystemTray tray = SystemTray.getSystemTray(); java.awt.Image image = Toolkit.getDefaultToolkit().getImage("images/tray.gif"); TrayIcon trayIcon = new TrayIcon(image); tray.add(trayIcon); trayIcon.displayMessage("Test.", "This is a message to test notifications in Windows 10", TrayIcon.MessageType.INFO); } } }
Here is a screen shot after its launch in the IntellyJ IDEA development environment, running Java 8, Windows 10: 
Try this TrayNotification library, I think this is what you need.
Source: https://ru.stackoverflow.com/questions/554115/
All Articles