T
Todd
Hello,
I have been beating my brains out trying to figure this out, so this
means that there must be some patently obvious way of doing this that
if it had teeth it would have bitten me by now for being so obtuse.
After Googling repeatedly and reading the Sun Tutorials, I turn to
you.
I am trying to add an isPopupTrigger (right-click on Windows) filtered
JPopupMenu to individual items in a JList. I have tried the following
unsuccessfully:
1. making the list items implement MouseInputListener (result: mouse
listener doesn't get activated)
2. adding a mouse listener via a ListCellRenderer which extends JLabel
(need to set icons for list items) (result: popup can occur anywhere
in the JList display area)
and several other methods that I can't recall at this time. My brain
is jelly at this point.
If you know how to do this, please point me in the right direction
while my sanity remains (oh so minimally) intact.
Thanks,
Todd
I have been beating my brains out trying to figure this out, so this
means that there must be some patently obvious way of doing this that
if it had teeth it would have bitten me by now for being so obtuse.
After Googling repeatedly and reading the Sun Tutorials, I turn to
you.
I am trying to add an isPopupTrigger (right-click on Windows) filtered
JPopupMenu to individual items in a JList. I have tried the following
unsuccessfully:
1. making the list items implement MouseInputListener (result: mouse
listener doesn't get activated)
2. adding a mouse listener via a ListCellRenderer which extends JLabel
(need to set icons for list items) (result: popup can occur anywhere
in the JList display area)
and several other methods that I can't recall at this time. My brain
is jelly at this point.
If you know how to do this, please point me in the right direction
while my sanity remains (oh so minimally) intact.
Thanks,
Todd