I have a method that draws animated image on glass pane to simulate pulsing of an icon. It needs an image (i use icons of components) and bounds (of a button f.e.).
I need this area:

I know that button has getBounds(), does tabs have something similar? Or maybe coordinates of an Icon. Either would be nice.
You have to create own BasicTabbedPaneUI, because these methods are protected and there no way to override these methods from outside, (that came from Standard Java API)