NOTA: La traducción de esta documentación es un esfuerzo personal y voluntario, no es un documento oficial de Sun Microsystems ni Oracle ni está patrocinado por ninguna de estas empresas. Los documentos originales (en inglés) están disponibles en: http://java.sun.com/docs/books/tutorial/.
Dirija cualquier comentario, petición, felicitación, etc. a tutorialesjava_@RROBA_codexion.com.
Si desea ayudar a mantener en funcionamiento esta web, colaborar con la traducción de estos documentos o necesita que se traduzca algĂșn capĂ­tulo en concreto puede realizar una donación directa mediante Paypal:
System Tray Icon Support (The Java™ Tutorials > Graphical User Interfaces > Swing Features)
Trail: Graphical User Interfaces
Lesson: Swing Features
System Tray Icon Support
Home Page > Graphical User Interfaces > Swing Features
System Tray Icon Support
The desktop of some platforms, such as Microsoft Windows, includes a system tray, as shown in the following screenshot:

System Tray on Windows XP

On Microsoft Windows, it is called the "Taskbar Status Area." On Gnome, the "Notification Area", and on KDE, the "System Tray." However it may be called, the system tray is shared by all applications.

On platforms where it is supported, an application may insert a mini-icon, called a Tray Icon, into the system tray. This icon can be used to notify the user of a change in the application's status, or a need to take a particular action. Clicking the tray icon can bring up the application window. A popup menu and a tooltip can also be attached to the tray icon.

System tray support was added in version 6 of Java SE. For more information, see the New System Tray Functionality in Mustang article.

Previous page: Integrating with the Desktop
Next page: Questions and Exercises: Graphical User Interfaces