开发者

How to detect the position of the system tray with java?

i have to detect the position 开发者_JAVA百科of the systemTray with java. I already placed an icon in the tray but don't know if its possible to get the position of that icon?

Best regards

Hemeroc


I had a similar problem. I wanted to display a popup window when right clicking on the tray icon, and no window when clicking on it. (Im still to investigate whether I can use the default popup menu). So I detected the location of the mouse on the screen when the icon way clicked (A property of the mouse event) and displayed my popup menu there.


No, the API does not offer that functionality. Why do you think you need that, anyway What are you actually trying to achieve?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜