Hi folks
I've got a JTabbedPane with tab placement set to LEFT, so the tab titles are arranged in rows down the left hand side. Each tab title consist of 2 same size buttons and variable size text.
I want the title layout to be such that the buttons are at the left and right tab edges, with the text centered in the middle:
I naively thought using BorderLayout for the the tabs' JPanels and EAST/CENTER/WEST placement would do it, but that gives me something like:
while GridLayout(1, 3) gives me:
Is there an 'easy' way to get what I'm after, or do I have to try to get to grips with GridBagLayout/Constraints (again)?
(NB. in the above diagrams, each row is a separate tab/JPanel.)
Cheers
John