Tabs like segmented buttons?


#1

Has anyone out there written a tab class or a look and feel class for tabbed components to get them to look like the Mac segmented buttons rather than tabs?

If nobody has done that, then I’d like to add a request for an option or the appropriate LookAndFeel overrides to allow the tabs to be centered at the top and drawn like buttons.


#2

you can easily do this manually by making all your buttons have the same radioGroupId and create/delete a viewedComponent or simpliy show/hide them if you want the same behaviour as a TabbedComponent

from my experience, bending TabbedComponent or playing with the LnF for that purpose is not that easy, you can override TabbedButtonBar and see where you get. But IMO making your own CustomTabbedComponent will be easier. (but you won’t get the LnF benefits)