How to create a notification in swing

Viewed 33156

Using Java and Swing, is there any (convenient) way to create a notification? By notification, I mean something like:

this , this
(source: maketecheasier.com)
, or this
(source: microsoft.com)

(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.

If all else fails, I could always use the sliding notification from Sliding Notification bar in java (a la Firefox)

4 Answers
Related