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.
|
|
0
|
|
|
|
Reply
|
leshin (2)
|
9/27/2007 3:48:11 PM |
|
leshin@gmail.com wrote:
> 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.
What is JDIC?
Please do not multipost.
--
Lew
|
|
0
|
|
|
|
Reply
|
Lew
|
9/27/2007 4:15:02 PM
|
|
On Sep 27, 12:15 pm, Lew <l...@lewscanon.com> wrote:
> les...@gmail.com wrote:
> > 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.
>
> What is JDIC?
>
> Please do not multipost.
>
> --
> Lew
Sorry for the multi-posting. I just don't know which one is the right
place to post my question.
|
|
0
|
|
|
|
Reply
|
leshin
|
9/27/2007 5:51:40 PM
|
|
leshin@gmail.com wrote:
>>> 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.
Lew wrote:
>> Please do not multipost.
leshin@gmail.com wrote:
> Sorry for the multi-posting. I just don't know which one is the right
> place to post my question.
Well, there is substantial overlap between the groups in question, so one
would likely suffice. In any event, to reach multiple groups you can
cross-post, which avoids the worst aspects of multi-posting.
Note that your message and this response are cross-posted, that is,
simultaneously reaching both groups. They are not independently posted.
That's the key.
Multi-posting fragments the conversation and makes it very annoying to follow.
Cross-posting keeps the conversation unified, and is less annoying.
Lew wrote:
>> What is JDIC?
Care to answer my question?
--
Lew
|
|
0
|
|
|
|
Reply
|
Lew
|
9/27/2007 6:13:22 PM
|
|
leshin@gmail.com wrote:
> Sorry for the multi-posting. I just don't know which one is the right
> place to post my question.
>
There's a regular posting to these newsgroups that might help
http://faqs.cs.uu.nl/na-dir/computer-lang/java/help/minifaq.html
The worst thing you can do is Multipost.
http://www.blakjak.demon.co.uk/mul_crss.htm
If you must address several newsgroups, cross-post don't multipost.
http://www.cs.tut.fi/~jkorpela/usenet/xpost.html
Best is to identify one newsgroup.
http://www.catb.org/~esr/faqs/smart-questions.html#forum
|
|
0
|
|
|
|
Reply
|
RedGrittyBrick
|
9/27/2007 6:14:26 PM
|
|
On Sep 27, 2:13 pm, Lew <l...@lewscanon.com> wrote:
> les...@gmail.com wrote:
> >>> 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.
> Lew wrote:
> >> Please do not multipost.
> les...@gmail.com wrote:
> > Sorry for the multi-posting. I just don't know which one is the right
> > place to post my question.
>
> Well, there is substantial overlap between the groups in question, so one
> would likely suffice. In any event, to reach multiple groups you can
> cross-post, which avoids the worst aspects of multi-posting.
>
> Note that your message and this response are cross-posted, that is,
> simultaneously reaching both groups. They are not independently posted.
> That's the key.
>
> Multi-posting fragments the conversation and makes it very annoying to follow.
> Cross-posting keeps the conversation unified, and is less annoying.
>
> Lew wrote:
> >> What is JDIC?
>
> Care to answer my question?
>
> --
> Lew
Sure not. JDIC is the Java Desktop tools package. You can have the
detail information via https://jdic.dev.java.net/
|
|
0
|
|
|
|
Reply
|
leshin
|
9/27/2007 7:00:30 PM
|
|
On Sep 27, 2:14 pm, RedGrittyBrick <RedGrittyBr...@SpamWeary.foo>
wrote:
> les...@gmail.com wrote:
> > Sorry for the multi-posting. I just don't know which one is the right
> > place to post my question.
>
> There's a regular posting to these newsgroups that might help
> http://faqs.cs.uu.nl/na-dir/computer-lang/java/help/minifaq.html
>
> The worst thing you can do is Multipost.
> http://www.blakjak.demon.co.uk/mul_crss.htm
>
> If you must address several newsgroups, cross-post don't multipost.
> http://www.cs.tut.fi/~jkorpela/usenet/xpost.html
>
> Best is to identify one newsgroup.
> http://www.catb.org/~esr/faqs/smart-questions.html#forum
Thanks for your information, I won't make this mistake again.
|
|
0
|
|
|
|
Reply
|
leshin
|
9/27/2007 7:02:32 PM
|
|
leshin@gmail.com wrote:
> JDIC is the Java Desktop tools package. You can have the
> detail information via https://jdic.dev.java.net/
I see that you posted your question on their forum - that seems wise.
I sure like the spelling of your handle there. :-)
Looking over the Javadocs for the JDIC TrayIcon class
<https://jdic.dev.java.net/nonav/documentation/javadoc/jdic/org/jdesktop/jdic/tray/TrayIcon.html>
reveals:
> TrayIcons will display the specified Menu when a
> right mouse click is performed on the TrayIcon.
> Left button clicking will trigger ActionEvents.
That seems to seal it.
Of course, some OSes let you reverse the sense of "right" and "left" mouse
buttons.
--
Lew
|
|
0
|
|
|
|
Reply
|
Lew
|
9/27/2007 7:10:46 PM
|
|
On Sep 27, 3:10 pm, Lew <l...@lewscanon.com> wrote:
> les...@gmail.com wrote:
> > JDIC is the Java Desktop tools package. You can have the
> > detail information viahttps://jdic.dev.java.net/
>
> I see that you posted your question on their forum - that seems wise.
>
> I sure like the spelling of your handle there. :-)
>
> Looking over the Javadocs for the JDIC TrayIcon class
> <https://jdic.dev.java.net/nonav/documentation/javadoc/jdic/org/jdeskt...>
> reveals:
>
> > TrayIcons will display the specified Menu when a
> > right mouse click is performed on the TrayIcon.
> > Left button clicking will trigger ActionEvents.
>
> That seems to seal it.
>
> Of course, some OSes let you reverse the sense of "right" and "left" mouse
> buttons.
>
> --
> Lew
Thanks Lew for your information.
|
|
0
|
|
|
|
Reply
|
leshin
|
9/27/2007 9:42:38 PM
|
|
leshin@gmail.com wrote:
> Thanks Lew for your information.
It's the same information you'd reach for first, isn't it? All I did was read
the Javadocs for the package you mentioned.
--
Lew
|
|
0
|
|
|
|
Reply
|
Lew
|
9/27/2007 10:07:01 PM
|
|
On Thu, 27 Sep 2007 17:51:40 -0000, leshin@gmail.com wrote, quoted or
indirectly quoted someone who said :
>Sorry for the multi-posting. I just don't know which one is the right
>place to post my question.
in that case cross-post, instead of multi-posting, but posting to a
single group is preferred.
See http://mindprod.com/jgloss/crossposting.html
http://mindprod.com/jgloss/multiposting.html
Since most of the people who are good at answering questions read most
of the newsgroups, it really does not matter if you get the precisely
correct group. See http://mindprod.com/jgloss/newsgroups.html
for guidelines on which ones to use for which purposes.
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
|
|
0
|
|
|
|
Reply
|
Roedy
|
9/27/2007 10:57:58 PM
|
|
On Thu, 27 Sep 2007 12:15:02 -0400, Lew <lew@lewscanon.com> wrote,
quoted or indirectly quoted someone who said :
>
>What is JDIC?
see http://mindprod.com/jgloss/jdic.html
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
|
|
0
|
|
|
|
Reply
|
Roedy
|
9/27/2007 11:08:12 PM
|
|
|
11 Replies
250 Views
(page loaded in 0.155 seconds)
|