Malayalam Favorites

Monday, December 19, 2005

Java System Tray Notification

After lots of attempts to display a baloon notification from the windows systray, I found this as a widget. ! Check out this page. This one uses SWT. You can also do the same from plain vanilla java swing, using the upcoming JDIC features that are being incorporated in to Mustang.
It is interesting to note that this feature which is obviously platform dependent is being incorporated in to the java.awt.* package. While that package choice is expected , considering the platform dependence of having to execute native code to achieve this, what is surprising that Mustang too stays true to the AWT architecture of having peer components. Contrary to the SWT widget set, which does not have inherent support for Tray notifications, Mustang's JDIC is really feature rich providing full flexibility when using the Tray Icon API.

Friday, December 16, 2005

Keeping it Simple

I've been working on a passtime project that includes a java client side application. Swing seemed to be the natural choice, and eventhough i had some experience with it, i decided to go the SWT way. So I got down and downloaded eclipse, ditching my favorite IntelliJ. And as expected problems galore !
Why does eclipse have to be such a pain? I kept asking myself. But in a couple of hours things started to smooth out, and i was happily jogging through my first few SWT shells. The technology sure is incredibly attrative, using the underlying OS to get the rendering work done is nothing new to java, since the AWT was based upon this idea. But the SWT design is really interesting and how they set about to do this is really great. check out this article.

Wednesday, November 09, 2005

The java bug

Welcome to BiteCode.
In the coming times, you'll find a welath of Java and J2EE articles here.
BiteCode is the technical counterpart of jgjoseph.blogspot.com