I need to catch whether the user has (left) clicked on the currently selected tab of a TabbedComponent. Am I missing anything obvious?
currentTabChanged doesn’t help as it only triggers when the tab is changed, not when the current tab is clicked on, and
popupMenuClickOnTab only reacts to right-clicks.
I’ve got a solution in place at the moment by attaching the parent component (the one which inherits from TabbedComponent) as a MouseListener to to the TabbedButtonBar and checking screen coordinates but it feels super clunky!