Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JTabbedPane BOLD only for selected tab's title

843805Nov 6 2006 — edited Jan 28 2007
Hi folks,

I have a JTabbedPane which have 4 tabs in it. Each tab have seperate title in it. By using the jtabbedpane's setFont method, I can set all the tab's title as BOLD. But I want the selected tab's title to be BOLD and unselected tab's title to be PLAIN.

How can we do this ? Is there any methods ? please help.

thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 25 2007
Added on Nov 6 2006
3 comments
447 views