With Java 8 sdk, when I do
if (SystemTray.isSupported()) {
logger.error("SystemTray IS supported");
} else {
logger.error("SystemTray IS NOT supported");
}
Why SystemTray is not supported on Windows 10 ?
And what can I do to make it supported ?
Thanks
You can set headless property from code too:
System.setProperty("java.awt.headless", "false");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With