Java 2 Platform Standard Edition 6.0 version (Mustang) lets you access the system tray through two classes in the java.awt package: SystemTray and TrayIcon. Plate-forme Java 2 Standard Edition version 6,0 (Mustang) vous permet d'accéder à la barre d'état système au moyen de deux classes dans le paquet java.awt: SystemTray et TrayIcon.
Barre d'état système en Java
These classes give you the ability to add graphics, popup menus, and floating tip functionality to the system tray. Ces classes vous donner la possibilité d'ajouter des graphiques, les menus popup, et flottant pointe fonctionnalité à la barre d'état système. If approved by the JSR 270 Expert Group you can expect to find this feature in the final version of Mustang. S'il est approuvé par la JSR 270 du Groupe d'experts, on peut s'attendre à trouver cette fonctionnalité dans la version finale de Mustang. Approve it already! Approuver déjà!

The java.awt.SystemTray class represents the system tray for a desktop. Le java.awt.SystemTray classe représente la barre d'état système pour un ordinateur de bureau. You can access the system tray by calling the static SystemTray.getSystemTray() method. Vous pouvez accéder à la barre d'état système en appelant la statique SystemTray.getSystemTray (). Before doing so, however, the application should always check if the system tray is supported using the static SystemTray.isSupported() method. Avant de ce faire, cependant, la demande doit toujours vérifier si la barre d'état système est soutenu utilisant l'SystemTray.isSupported (). If the system tray is not present or supported on this platform and the application attempts to call getSystemTray() in such a case, it will throw a java.lang.UnsupportedOperationException. Si la barre d'état système n'est pas présent ou pris en charge sur cette plate-forme et l'application tente d'appeler getSystemTray () dans un tel cas, il lancera une Java.Lang.UnsupportedOperationException.

Read this article for more Lire cet article pour en savoir plus details détails .