🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #8031

Re: How to set the color of the selectecd tab of a jtabbedpane

#8031
From: John McGrath TeamB
Date: Fri, 10 Nov 2000 07:32
24 lines
1738 bytes
On 8 Nov 2000 07:44:15 -0800, Larry Maturo wrote:

> The JTabbedPane and JTabbePage have lots of color properties
> you can set, but apparently the color of the selectd tab is
> not one of them.  How do you set this?  In the default, the
> unselected tabs are dark grey and the selected tab is light
> grey.  This looks good.  I, however, want to change colors,
> and the light grey for the selected tab looks awful.  I want
> to make the unselectd tabs light or dark grey and make the
> selecte tab the same color as the page color, which in my
> case is wheat.

It sounds like you have been looking at the Metal look-and-feel.  
Note that the appearance you describe is not the same under other 
look-and-feels.

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <MPG.14756d77a1b1fec7989cf1@forums.borland.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news.tele.dk!129.240.148.23!uio.no!130.227.3.87.MISMATCH!neel.uni2.net!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!not-for-mail
References: <3a0974cf$1_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,740d8856dcb00388
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2000-11-09 23:33:34 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news.tele.dk!129.240.148.23!uio.no!130.227.3.87.MISMATCH!neel.uni2.net!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!not-for-mail
From: John McGrath  [TeamB] <ng-b@JPMcGrath.net>
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: How to set the color of the selectecd tab of a jtabbedpane
Date: Fri, 10 Nov 2000 02:32:15 -0500
Organization: Another Netscape Collabra Server User
Lines: 24
Message-ID: <MPG.14756d77a1b1fec7989cf1@forums.borland.com>
References: <3a0974cf$1_1@dnews>
NNTP-Posting-Host: dslcv1-60.fast.net
X-Newsreader: MicroPlanet Gravity v2.30