Originally Posted by FLLinux
In windows or i shold say MFC there is a think called SystemNotifyIcon or something like that. You create one of these and attach a menu to it and set some other options and with you mimimize you prgram it will show up on the Systemtray instead of the taskbar. I don't know how Java does it since ths is a Windows specific thing (and it is a pain in the butt to work with). But look for something along those lines
Its actually not a purely windows feature. I've seen azureus minimize to a KDE system tray. Andit works for fluxbox box too.
I do believe the code maybe as simple one line
SystemTray.getDefaultSystemTray().addTrayIcon(new TrayIcon(new ImageIcon("imagefilename")))