• Post Reply Bookmark Topic Watch Topic
  • New Topic

Drag and Drop on Right Click

 
Piyush Anand Sharma
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Need Help on Drag and Drop on Right Click and also need to show context menu on simple right click and when we drag and drop objects then also need to show context menu.

Need :
1. if we drag and drop objects then also need to show context menu.
2. if we simply right click on any object then also need context menu.

 
Darryl Burke
Bartender
Posts: 5152
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Piyush, like Campbell told you in your earlier thread:
Campbell Ritchie wrote:We do not provide complete solutions to problems; what have you achieved so far?
 
Piyush Anand Sharma
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have added mouse listener to my treeviewer and in mouse listener i have checked for button, which button is pressed if it is button 3 then add drag support but after adding drag support, i cannot access right click menus on same object
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!