Wednesday 17 August 2011

Java Notification Widget

I found this really cool little Java notification widget written by hexapixel. The link is here:

http://hexapixel.com/2009/06/30/creating-a-notification-popup-widget

It uses the SWT library to popup a notification in the bottom right hand corner of the screen. This is great when developing any kind of application that needs some kind of notification. I can think of loads of use cases, especially when running a Java process as a Windows service. You could basically have your Java process running in the background seamlessly working away, then when something happens, it just shows you a nice notification. I am going to work on my own system which uses a similar notification system, with the plan to make a nice standalone widget for displaying notifications.



The code is really simple, but the effect is really nice! The fading in animation is a pretty much must have when it comes to making dialogs look fluid. Good job to Hexapixel for the excellent blog article and nice code!

No comments:

Post a Comment