Hi all :)
there's a freedesktop.org notification system using DBUS. Looks simple enough, but I just can't figure out how to use it in Java.
Can someone please point to some sample code to display a simple message?
Thank you! :)
Hi all :)
there's a freedesktop.org notification system using DBUS. Looks simple enough, but I just can't figure out how to use it in Java.
Can someone please point to some sample code to display a simple message?
Thank you! :)
There is some code in the Java-gnome project that may work for you. Checkout the org.gnome.notify package. Java-gnome 4.0.12 included some support for the libnotify-api that may be what you are looking for.
The Java-gnome notifications are on my list to work with but I haven't had a chance to use it yet.
Using the spec and the examples in dbus-java it is possible to implement the notifications if the java-gnome library doesn't work for you.