On a program I'm working on, I'd like to be able to either right-click or alt-click or something similar to get two separate actions from the same button. I usually use the button.addActionListener(actionevent e) code for buttons but I don't know how to implement the ideas above. Please let me know any suggestions you might have.
Thanks
Thanks