Hi! I have a question, How can I get the rigth click event from a DefaultSingleCDockable? I want to do a popup menu over a singlecdockable but I need to obtain the right click event first. Thank you for your help.
- If the right click is over a title (or a button) that represents a Dockable, then the framework catches the event first and shows its own menu. In this case you would need to add some CActions to the dockable to add your own content to the menu.
At the moment it is not possible for clients to completely replace this menu.
- If the right click is over the Dockable itself, then you need to have a MouseListener in a Component that is over the Dockable. Just using some JPanel as background panel would be enough. If the event falls through and reaches the Components of the Dockable itself, then case 1 happens again.
Thank you for your answer again!