I\'m developing a Swing application and I need to flash the Windows taskbar. I can\'t use frame.requestFocus() because I don\'t want to steal focus from any oth
frame.requestFocus()
The best way to do this:
if (!isFocused()) { setVisible(false); setVisible(true); }