Have a look at the code at JavaAlmanac:
http://www.javaalmanac.com/egs/javax.swing/tabbed_TpTabClr.html?l=find

later
Roger...

Quoting Mike Elliott <[EMAIL PROTECTED]>:

> I'm using a JTabbedPane for the first time and would like the selected tab to
> 
> be some color other than the default gray.  How does one go about setting 
> this color?  setBackground( someColor ) will set the color for the unselected
> 
> tabs, but I haven't yet found a way to set the color for the selected tab and
> 
> the gray really looks ugly in the surrounding color scheme.
> 
> ---
> You are currently subscribed to jdjlist as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
> [EMAIL PROTECTED]
> http://www.sys-con.com/fusetalk
> 




---
You are currently subscribed to jdjlist as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
http://www.sys-con.com/fusetalk

Reply via email to