Tab right-click menu?

Hi,

In the Eclipse Theme, I notice that it’s possible to show the “actions menu” by a right-click directly on a tab. In other themes, the action menu only appears by a right-click on the “title bar”.
My goal is to add this feature on the default theme but I have no idea how to do it.

I looked into the source code in order to find the differences between the Eclipse Theme and others but without success…

Thanks for your help

That seems to be a bug, the Eclipse-, Flat- and Bubble-theme use a custom implementation of something behaving like a JTabbedPane, while the Basic theme uses the real JTabbedPane. Unfortunatelly a right click onto a tab somehow gets connected to the underlying StackDockStation, not the Dockable which is represented by the tab. Since the StackDockStation does not have any actions associated, no popup shows up.

I’ll fix that in the next release.

A repaired version is in the repository.

Thanks for the quick fix!!

bye