dorkbox / SystemTray

Cross-platform SystemTray support for Swing/AWT, macOS, GtkStatusIcon, and AppIndicator on Java 8+
Other
446 stars 58 forks source link

Unable to use Notify and SystemTray in the same application #135

Closed Elvander closed 3 years ago

Elvander commented 3 years ago

I have an javaFX (java 11) application which needs to send notifications to the user and stay in the tray, but i'm unable to combine both libraries.

I receive the following error:

java.lang.module.ResolutionException: Modules SystemTray and Notify export package dorkbox.util to module hamcrest.core

Is there a way to build both packages without the dorkbox.util and add this as a dependency? This should resolve the issue...

Same issue on Notify #21

dorkbox commented 3 years ago

The SystemTray now supports JPMS. Before release, I will also have Notify working with JPMS

dorkbox commented 3 years ago

Notify will take a little more time to get ready for JPMS (because the TweenEngine dependency is not trivial), so I will close this issue here as SystemTray now supports JPMS.

Work will continue on Notify. See: https://github.com/dorkbox/Notify/issues/21