Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

desktop notifiers

 
jay vas
Ranch Hand
Posts: 407
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
jay vas
Ranch Hand
Posts: 407
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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......
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic