On macOS, the `java.awt.TrayIcon.displayMessage()` method has been re-implemented to use the `NSUserNotification` api to show messages to users. New messages on macOS are now shown by using the standard notification center instead of a custom window.