aspose file tools *
The moose likes Swing / AWT / SWT and the fly likes desktop notifiers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "desktop notifiers " Watch "desktop notifiers " New topic
Author

desktop notifiers

jay vas
Ranch Hand

Joined: Aug 30, 2005
Posts: 407
Hi guys : Does anyone know how to write a desktop notifier
widget ? Like the ones that *ding* when youre mail arrives ?
Is there an API for creating such applications/widgets ?

Im trying to write a desktop notifier that notifies my neighbors
when my dog is home alone, so that they can play with her...

Thanks,
Jay
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

The "widget" part is a System Tray Icon... this is available through JDIC (Java Desktop Integration Components) by SwingLabs (Open Source). It's also been added to Swing in JSE 6.

The "notification" part can be done pretty much any way that you want. I think that Gmail notifier (and lots of other similar things like that) use RSS, but you can use sockets, RMI, HTTP polling... just make sure you know the drawbacks and advantages to all of these approches...


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
jay vas
Ranch Hand

Joined: Aug 30, 2005
Posts: 407
Ok thanks, but how can i teach the system tray icon to be "in sync", and how can i enable this functionality on Macintosh computers ? Thanks in advance...Jay
jad yuuu
Greenhorn

Joined: May 06, 2007
Posts: 8
hello guys, i did such a component a while agoo, i hope it is what you want. see it on http://www.gulany.com/?page_id=16

[ May 08, 2007: Message edited by: jad yuuu ]
[ May 08, 2007: Message edited by: jad yuuu ]
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42952
    
  73
Originally posted by jay vas:
how can i enable this functionality on Macintosh computers ?


JDIC is available for OS X.

If an OS X-only solution is OK, check out
Notifications for Java.
sudhakar ananth
Ranch Hand

Joined: Feb 02, 2007
Posts: 68
Hi Jay did you got the solution for the SystemTray
if yes please tell

i have used 1.6

but it is not so gud....

as we can't keep the collection of the all the message which came for last 30 min or so

so if you got the answer pls tell me
bye......
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: desktop notifiers