开发者

how can I active my program with a special key?

开发者 https://www.devze.com 2023-02-22 01:30 出处:网络
I write a program with java now i want when press special key(or click) my program go to system tray.

I write a program with java now i want when press special key(or click) my program go to system tray.

and when i press a specia开发者_运维问答l key it actives.

please show me some example.


Create a Component and have Keyboard events associated to it. See the sample code on how to minimize the application to System tray.

You can see the sample code here.

0

精彩评论

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