This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Hi, I have made a class that extend a JButton, now I would like to show a popup when I make a rightclick over the component! The same procedure works perfect with JLabel! Why does it not work with JButton? /Emil Karlsson
some code of yours would be helpful. especially, where you catch the popup events for your JLabel and for your JButton. are you checking whether the mouse event is a popup trigger? (event.isPopupTrigger()) chantal