How to make blinkable to a minimised window when data updated init it.

Hi,

When I am developing a chat application in AWT. The problem is the when the message is received into a window, think that the concerned window is minimised or inactive then how to get the blinkable focus on the taskbar to concerned window to get user attractin towards it.

What I think is , it iw OS level so it is not possible through AWT. Am I correct?

Thanks in advance.

khaleel

[424 byte] By [shaikkhaleel] at [2007-9-26 2:44:29]
# 1
Hmmm! You could possibly simulate that effect. What kind of window is this? Is it a frame window?Cheers!
amolk at 2007-6-29 10:24:49 > top of Java-index,Desktop,Core GUI APIs...
# 2

You can do it with Frames (if you AWT) or JFrames (if you can use swing) by having an animator thread that changes the icon of the task once a second or so. It will appear to be blinking.

just alternate calls to something like this:

jframe.setIconImage(normalImage);

and

jframe.setIconImage(brightImage);

darrelln at 2007-6-29 10:24:49 > top of Java-index,Desktop,Core GUI APIs...