title: TrayIcon display message pops a window in mac
body: <p>I am creating a creating java app in which I am displaying a Ballon message in system tray / notification bar. It displays a balloon message properly in windows(the balloon auto fades away in seconds) but on Mac machine it displays a window(which has to be closed purposely by the user). How can I achieve the same effect on Mac?
  <br>
  <strong>JAVA Code:</strong></p>
  
  <pre><code>trayIcon.displayMessage("Caption", "text", MessageType);
  </code></pre>