I've tried with JTabbedPane tab layout policy JTabbedPane.SCROLL_TAB_LAYOUT. It works fine, the mouse listener is successfully called and I can therefore see my Context Menu.
After further investigation, it turns out it does not work with the JideTabbedPane because of a work around created for handling the following issue:
http://developer.java.sun.com/developer ... 68865.html
This workaround sets a MouseListener on the ScrollableTabPanel defined in the ScrollableTabSupport of the BasicJideTabbedPaneUI.
This ScrollableTabPanel having a mouse listener, it therefore is the target of any MouseEvent (see java.awt.Container#getMouseEventTarget). It works fine for the JTabbedPane because the ScrollableTabPanel defined in the ScrollableTabSupport of the BasicTabbedPaneUI do not have any MouseListener, MouseMotionListener or MouseWheelListener defined.
This was once a bug in JtabbedPane too. check
http://bugs.sun.com/bugdatabase/view_bu ... id=4765244
The solution is to make sure no MouseListener are defined on the ScrollableTabPane.