Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2003
    Posts
    51

    Unanswered: JTabbedPane bold for selected tab

    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

  2. #2
    Join Date
    Dec 2003
    Posts
    51

    Re

    Is there any method like ?

    UIManager.put("TabbedPane.selected.font",new Font("____"));

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •