Minimizing java app. to the taskbar/system tray in windows
this is a bit of a difficult question to ask, seeing as i dont know the exact terms for what i am tying to accomplish, so please bare with me-
I am looking to write an application that can be minimized to the system tray/taskbar (next to where the clock is kept in windows) as well as have it add shortcuts to the menu that appears when you right click on a file in windows (for example, similar to the "add to archive" shortcuts winrar adds).
does anyone know if this can be done?
[500 byte] By [
trooper22a] at [2007-11-27 8:37:26]

# 1
Here are a few suggestions to help with the first part of your problem.
If you are not already using JDK 6, then you may have to upgrade if you dont not want to use third party code to implement the SystemTray functionality. JDK 6 provides these features through the java.awt. package. You can read the documentation for more info.
Once, you get the basics, it is very easy to assign the necessary listeners to achieve the desired effect, ie a WindowListener, for the minimize action, shd call setVisible(false) on the frame and call a method to set the system tray icon. And icon would have a popup menu with an action listener that call setVisible(true) on the frame to show it on screen. All this can be in just on class (about 4 or five methods)
As for the second part, such a feature can only be implemented using JNI (Java Native Interface). However, one hack is to place your icons or shortcuts in the right folders to get them to show (that is on windows). Example, for the Send To option, you can add a shortcut by placing it in "docs&settings/<user>/sendto". This however, does not solve your problem.
ICE