This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • 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
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

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: 43011
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......
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!