System tray
As part of the Java6 packages, it is said that Sun Microsystems have added an api to enable one to put an application icon in the system tray. If you have used windows, there's that baloon that pops up, say, when a connection is successful to say that "Local area connection is now active. 100MBps" I want to make an application that gives the users messages in such like form. From whence may I acquire tutorials for such? Thank you in advance.
[453 byte] By [
Jamwaa] at [2007-11-27 6:19:43]

No balloons. If you want them, use JNI.The rest: http://java.sun.com/javase/6/docs/api/java/awt/SystemTray.html
and please, speak like a normal person, you have failed to use the ye olde english method properly.
> and please, speak like a normal person, Eh, what's wrong?
> > and please, speak like a normal person, > > Eh, what's wrong?" From whence may I acquire tutorials for such?" presumably. "From whence" wouldn't make any sense in this context, unless said tutorials had not been released at the time of asking
> Eh, what's wrong?
Whence actually means "from where", as "hence" means "from here". Thus, it would have been perfectly proper to say, "Whence may I download the tutorials?". It's apparently a common mistake:
http://www.cjr.org/resources/lc/whence.php
I've looked quite fervently in the past for a Java solution to this problem, and the answer is that you really can't. The issue is that Java has to support all platforms, and not just Windows. The Macintosh and most Linux environments don't have anything analogous, and so, Sun won't build it in. There might be a third-party extension by now, but if there is, I haven't seen it.
May be, but why rant about that?
> The issue is that Java has to support> all platforms, and not just Windows. In this case, not even all Windows versions support it.
> May be, but why rant about that?
Sorry, didn't intend for that to come off as a rant... I emphatically agree with the decision not to cruft up the base APIs with things that aren't applicable everywhere (or at least on all modern systems), even if it is on the majority platform. I hardly use Windows except for at work, so it gives me no heartburn at all. And yes, you're absolutely right, not even all Windows versions support these passive notifications.
You could approximate it by creating a small window in the corner of the screen with no decorators. I think it's quite a usability no-no, though. It peeves me to no end when windows pop up out of nowhere while I'm working. Any application using these notifications on my machine gets those notifications instantly disabled. :)
> > May be, but why rant about that?
>
> Sorry, didn't intend for that to come off as a
> rant...
Sorry, I didn't really mean you but RedUnderTheBed - there are people in here that seem to believe the internet is a huge SMS party, and RedUnderTheBed coms here and is offended at someone using an incorrect vocabulary.
> there are people in here that seem to believe the> internet is a huge SMS partyHear, hear... /raises coffee mug :)