• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

desktop notifiers

 
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
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • 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
 
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 ]
 
Rancher
Posts: 43016
76
  • 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.
 
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......
 
You don't like waffles? Well, do you like this tiny ad?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic