> Hi,
> I am developing a program where I use JInternalFrame(s). In each of the
[quoted text clipped - 4 lines]
> Thanks in advance
> Koko
One untested idea: Try to activate or deactivate it cyclically.
Uwe

Signature
mail to newsgroup@ziegenhagen.info is read only from time to time. If
you need an urgent answer, google for me.
Konstantin Radoslavov - 30 Mar 2005 11:38 GMT
Hi,
I tried that but still no result.
Thanks
Koko
> Hi,
> I am developing a program where I use JInternalFrame(s). In each of the
[quoted text clipped - 4 lines]
> Thanks in advance
> Koko
I'd say that you should take a look at the DesktopManager interface, and
the Default implementation. A couple of things come to mind:
1. If you have maximized JInternalFrames, flashing the icon is not going
to make any difference, because it won't be visible. Similarly if you
have JInternalFrames arranged on top of the icons, even if they are not
maximised.
2. You may want to consider implementing a "task bar"-like
DesktopManager, (maybe even a JToolBar?) which prevents the windows from
maximising to cover the task bar. You could implement a JButton in the
taskBar to activate/iconify each of the JInternalFrames. Since you are
controlling the JToolBar and the buttons yourself, it would be a simple
matter to change the colour of the button to make it flash.
3. For the above to work properly, you'd have to prevent the iconified
JInternalFrames from being shown on the JDesktopPane. The DesktopManager
class might help you here.
Regards,
Rogan

Signature
Rogan Dawes
*ALL* messages to discard@dawes.za.net will be dropped, and added
to my blacklist. Please respond to "nntp AT dawes DOT za DOT net"
Rogan Dawes - 30 Mar 2005 13:58 GMT
>> Hi,
>> I am developing a program where I use JInternalFrame(s). In each of the
[quoted text clipped - 27 lines]
>
> Rogan
Alternatively, you might want to try playing with the
set/getDesktopIcon() methods. By "inverting" and "reverting" the
background and foreground colours of this Component, you should be able
to make it flash, I think.
Note that the docs suggest that you should not depend on this API, as it
should be subsumed into JInternalFrame eventually . . .
Rogan

Signature
Rogan Dawes
*ALL* messages to discard@dawes.za.net will be dropped, and added
to my blacklist. Please respond to "nntp AT dawes DOT za DOT net"