Iconifying

Hi,

I am using JFrame to create a window. I want that my window created is minimized to a small icon on the right hand side( bottom ) on the taskbar alongwith other task bar buttons like " volume control" and "Msn messenger " button.

Normally whenever a window is minimized it forms a big icon on the taskbar , i don't want that. I found a method called "windowIconified()" in JFrame inherited from Window class, but it is called after minimization has taken place.

I would be thankful if anyone could suggest me whether it can be done or not. And if yes how. I am using Windows 2000

Thanks

Inderjit

[645 byte] By [inderjit_rana] at [2007-9-26 1:34:02]
# 1

hi..

i also want to iconify the my Application.

have u got the soln for it ?

One more thing.

I want to blink my minimised frame just as Y! messenger. how i should change the background of minimised frame.?

if u help me in that ragard ...it will be a great help for me.

thanks in advance.

Ritesh

riteshhere at 2007-6-29 2:16:36 > top of Java-index,Archived Forums,Swing...
# 2

What you want is called "adding an icon to the notify area" and since such a thing is only available in windows java doesn't support it. You'll have to use JNI to access the windows system call Shell_NotifyIcon. Also check out the struct NOTIFYICONDATA with which you control the behavior of the call to Shell_NotifyIcon.

- Marcus

msundman at 2007-6-29 2:16:36 > top of Java-index,Archived Forums,Swing...
# 3
There is a product called Desktop Extension - Java System Tray for Windows. It is exactly what you want. Check it out at http://www.maxistech.com/desktopex/
wvu at 2007-6-29 2:16:36 > top of Java-index,Archived Forums,Swing...