Skip to main content

TrayIcon: JPopupMenu isn't shown

2 replies [Last post]
Anonymous

Hello,
I'm trying out the JDIC TrayIcon API but it doesn't work.
I wanted to add a JPopupmenu to my TrayIcon, but on a right-mouse-click I see a shadow only and then it disappears.

I'm using:
Win XP Pro
JRE/SDK 1.5
TrayIcon API 0.1.6

regards

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
armin_chen
Offline
Joined: 2004-09-29

Hi Roar,

You can try to run the demo that shipped with the jdic binary. You can get it from https://jdic.dev.java.net/servlets/ProjectDocumentList?folderID=1955&exp...
If it works, then, there should be something wrong with your own code.

Anonymous

Hello,
thanks for your answer. I found out that this is caused by the Look And Feel I'm using (Liquid LnF). If I change the LnF to Metal it works. But: if I change from Metal back to Liquid it works, too :-/ I don't know why, but I have to use another Systray API for my application :(

but however: JDIC is great work, go on.