implement right click popup menu in  JList and JTable