title: How to create a notification in swing
body: <p>Using Java and Swing, is there any (convenient) way to create a notification? 
  By notification, I mean something like: </p>
  
  <p><a href="https://i.stack.imgur.com/cXNmQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cXNmQ.png" alt="this"></a>
  , <a href="https://i.stack.imgur.com/JNj6r.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JNj6r.png" alt="this"></a><br>
  <sub>(source: <a href="http://images.maketecheasier.com/2010/01/kfirefox-notify-indexed.png" rel="nofollow noreferrer">maketecheasier.com</a>)</sub><br>
  , 
  or 
  <a href="https://i.stack.imgur.com/xLbpg.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xLbpg.jpg" alt="this"></a><br>
  <sub>(source: <a href="https://www.microsoft.com/library/media/1086/malaysia/windows/images/windows-vista/quick-start/screenshot_activatewarning.jpg" rel="nofollow noreferrer">microsoft.com</a>)</sub>  </p>
  
  <p>(Is there a more correct term for that?). It would be nice if it worked cross-platform, but I'm mainly concerned with it working under Ubuntu with Gnome. If at all possible, I would like to avoid having an icon in the system tray / notification area. </p>
  
  <p>If all else fails, I could always use the sliding notification from <a href="https://stackoverflow.com/questions/290210/sliding-notification-bar-in-java-a-la-firefox">Sliding Notification bar in java (a la Firefox)</a> </p>