How can I flash the Windows taskbar using Swing?

I don’t know if it applies to newer versions of Windows, but the .toFront() method used to flash the window if none of the current VM’s windows were in the foreground.

This means that calling frame.toFront() on a minimized frame would always make it flash…

Leave a Comment