Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / September 2007

Tip: Looking for answers? Try searching our database.

how to set left click to display pop-up menu for system tray

Thread view: 
leshin@gmail.com - 27 Sep 2007 16:46 GMT
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.
Roedy Green - 28 Sep 2007 00:11 GMT
>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



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.