I have several labels and buttons in an applications and would like to detect a right mouse button click. I have looked through the web but can find nothing suitable. I would like to be able to detect a right click on anyone of the buttons or labels and then go to a function/method to do my business. I am using Netbeans but can put code in if someone can suggest some code. Thanks.