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.
I had a similar problem. I needed height of tab. int tabHeight = myTabPanel.getUI().getTabBounds(myTabPanel, 0).height;
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With