Is there a way to show a custom form in Java that acts similarly to TrayIcon.displayMessage ()?

Using Java in any case to display a custom form / image that behaves similarly to the TrayIcon.displayMessage () function, since it appears just above the system tray for a while, and then disappears?

I am also looking for a way to display multiple notifications simultaneously, displaying them on top of each other.

If not, how do I find the pixel location for the lower left corner just above the tray?

+3
source share
2 answers

, , , TrayIcons ( x ), , Mac Growl.
, , .
, - , - .
java.awt.GraphicsEnvironment. getLocalGraphicsEnvironment(), , "getMaximumWindowBounds()", , .
javax.swing.JWindow , . , - , . , "x" , .
, , LTR, , , .

0

Java GNOME. Java GTK, .

0

Source: https://habr.com/ru/post/1711442/


All Articles