This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes desktop notifiers Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply 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
Marshal

Joined: Mar 22, 2005
Posts: 35247
    
    7
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.


Android appsImageJ pluginsJava web charts
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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: desktop notifiers
 
Similar Threads
Beginner: Threads vs. Runnables
using java to write to MySQL , multiple objects
Proper Event Processing
java 1.5 supports desktop notifier
Need Information about wait(),notiy(),notifyAll() in java