-2

I am interested to implement a window taskbar notification function similar to what skype has, whereby there is a small circle is pinned on the bottom right side of the taskbar with the number when there is a incoming message.

enter image description here

But however I don't know what to search for. Please help.

user2935569
  • 347
  • 2
  • 7
  • 15
  • I don't think it's unclear at all. see that notification yellow circle and (1). how to set the icon to that in windows. the tray is different btw. I happen to be googling around for solution to this that would work from a background window and this page is high up in the rankings – Lassi Kinnunen Jan 09 '18 at 05:36

1 Answers1

1

AWT provides an API for system tray (note that not all platforms are supported): https://docs.oracle.com/javase/tutorial/uiswing/misc/systemtray.html

If you want to change the image (e.g. showing the number of incoming messages), then you can provide a new image using: TrayIcon.setImage

Puce
  • 37,247
  • 13
  • 80
  • 152