how can I active my program with a special key?
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.
精彩评论