Hello, everyone.
I'm working on a desktop application using Jetbrains Compose, but I'm open to solutions using Swing as well. I want to implement a feature where the application window is initially located at the system tray icon (I can't find a way to get system tray icon position), similar to how JetBrains Toolbox behaves (I want to place an (undecorated) window close to the tray icon). As I know, JetBrains Toolbox made using Compose, so I'm here to find answer.
Initially, I made it using MouseEvent, but it's not a way as window sometimes jumping depending on where I clicked and I cannot show it at start (only when clicked). Toolbox does not have this restriction.
Full question is here –
https://stackoverflow.com/questions/76500655/how-to-set-window-location-at-the-system-tray-icon-using-swing
Hope, there's any answer for it, as I cannot find anything useful by googling.