If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > JAVA > JTabbedPane bold for selected tab

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-06-06, 00:00
Pinto Pinto is offline
Registered User
 
Join Date: Dec 2003
Posts: 51
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
Reply With Quote
  #2 (permalink)  
Old 11-10-06, 04:04
Pinto Pinto is offline
Registered User
 
Join Date: Dec 2003
Posts: 51
Re

Is there any method like ?

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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On