Use Java flash taskbar (LA Pidgin | MSN)

I'm looking for the right direction I have a simple chat program written entirely in Java. I'm looking for a way to flash taskbar icons Preferably in a manner similar to Pidgin or MSN

I hope to have a platform independent solution, because there are Linux and windows users, it is best to use Java completely

Solution

Unfortunately, this cannot be done in the standard swing API But you can solve it in several ways:

>Blink the icon and title of the window (set the timer and change them when it triggers). > Request focus and immediately make the window invisible; Reverse the process at your preferred interval

Both technologies are in this forum sun. Displayed in com thread

Alternatively, you can use TrayIcon Displaymessage() displays messages in the system tray instead of flashing; It may or may not work for you, but please note that it may not work across platforms

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>