ujjal dey wrote:Hi All,
In my application, a JPanel gets displayed in a JWindow. I need to add a right-click menu (with 'Exit' and 'About') in that JPanel.
I am not able to add the popup menu in the JPanel.
Can anybody please help me out??? Any pointer would be helpful.
Thanks in advance...
This is a sample
test using JPopup.. you can add the pannel.. and change item listener for your purpose.. But first , follow the link that suggested by others to determine and understand your purpose.