>I use JDIC package to create a system tray icon for my application and
>would like to display the pop-up menu when left clicking on the system
>tray icon. But, unfortunately, it seems JDIC system tray icon can only
>support right clicking to show the pop-up menu. Is there anyone can
>suggest a solution for me. Thanks.
I presume you have looked and discovered nothing in the JDIC classes.
see http://mindprod.com/jgloss/jdic.html
What next?
Study the source code for JDIC or decompile it. See
http://mindprod.com/jgloss/decompiler.html
You might be able to extend the offending class.
If not, write a simplified one that does just what you need.
Failing that, read up on how to do what you want from C++. Then write
code to do it from C++ and write some JNI glue.
See http://mindprod.com/jgloss/jni.html

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com