## Uses of Class
java.awt.TrayIcon.MessageType

- Packages that use TrayIcon.MessageType
  Package | Description
  --- | ---
  java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images.

- - ### Uses of TrayIcon.MessageType in java.awt

    Methods in java.awt that return TrayIcon.MessageType
    Modifier and Type | Method | Description
    --- | --- | ---
    `static TrayIcon.MessageType` | TrayIcon.MessageType.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static TrayIcon.MessageType[]` | TrayIcon.MessageType.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in java.awt with parameters of type TrayIcon.MessageType
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | TrayIcon.`displayMessage(String caption, String text, TrayIcon.MessageType messageType)` Displays a popup message near the tray icon.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.