Can I place text and an icon on a tab in a JTabbedPane such that the text is centered below the icon?

Sandip Chitale

No. Not directly. You will have to install your own TabbedPaneUI implementation. (I wish they had used a Renderer strategy for rendering the tabs. Then one could use a JLabel for doing what your are looking for.)

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.