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! 🙂
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.