🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Manipulating and creating LOOK AND FEELS

#7477
From: Luc BONAMEAU
Date: Wed, 24 Jan 2001 09:05
26 lines
1899 bytes
I try to create my own LAF for an application.
The problem is that I didn't find anywhere the description of all the
attributes like "Label.disabledShadow" anywhere.


Below is an exemple of my LAF definition


ColorUIResource commonBackground = new ColorUIResource(240, 219, 189);
 ColorUIResource commonForeground = new ColorUIResource(0, 0, 0);
 ColorUIResource buttonBackground = new ColorUIResource(210, 189, 159);
 ColorUIResource buttonForeground = new ColorUIResource(66, 59, 50);
        FontUIResource  commonFont = new FontUIResource("Arial", Font.BOLD,
12);
        FontUIResource  tabFont = new FontUIResource("Arial", Font.BOLD,
13);

 Object[]  defaults = {
     "Button.font", commonFont,
            "Button.background", buttonBackground,
            "Button.foreground", buttonForeground,
            "Panel.background", commonBackground,
            "Panel.foreground", commonForeground,
            "TabbedPane.background", commonBackground,
     "TabbedPane.font", tabFont,
            "TabbedPane.foreground", commonForeground,
Technical Details
Message-ID: <94m5s7$6fs9@bornews.inprise.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeeds.belnet.be!naxos.belnet.be!news.belnet.be!bornews.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,75ec60edc9d83160,start
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2001-01-24 01:10:34 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeeds.belnet.be!naxos.belnet.be!news.belnet.be!bornews.borland.com!not-for-mail
From: "Luc BONAMEAU" <alorsc@excite.com>
Newsgroups: borland.public.jbuilder.java.swing
Subject: Manipulating  and creating LOOK AND FEELS
Date: Wed, 24 Jan 2001 10:05:40 +0100
Organization: Arcad Software
Lines: 29
Message-ID: <94m5s7$6fs9@bornews.inprise.com>
Reply-To: "Luc BONAMEAU" <alorsc@excite.com>
NNTP-Posting-Host: f-arc.nwc.fr
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400