How to blink a swing window
1 posts in topic
Flat View  Flat View

Posted By:   Jesus_Barreda
Posted On:   Friday, April 26, 2002 12:54 AM

I'm doing an application that has to alert to user when it receives a message.
I want the window title bar to blink if the window is minimized or it hasn't the focus on windows NT.
For example, Excel does when it pops a message and it hasn't the focus.
Any ideas?
Thanks in advance.

Re: How to blink a swing window

Posted By:   frank_jania  
Posted On:   Saturday, April 27, 2002 06:59 AM

you have to use jni to do it.

look into the win32 function FlashWindow(). you'll also need to get the handle of the window so you can pass that to FlashWindow().
About | Sitemap | Contact