🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Consistent look-and-feel

#10871
From: Ken Sprague
Date: Fri, 30 Jul 1999 00:00
55 lines
2012 bytes
Rich,

I'm using the code generated by the JBuilder  wizard.  My main frame is a
JFrame:

    public class Desktop extends JFrame {

My look is feel is:


UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());

which is set right before creating the Desktop object.

Thanks,
Ken


Rich Wilkman wrote in message <37A1CDB4.1A5467F6@inprise.com>...
>Ken:
>
>What data type is your frame; it should probably be JFrame.  Which L&F
>are you using?  Metal (which is the Java L&F) or CDE/Motif?
>
>-Rich
>
>Ken Sprague wrote:
>>
>> I'm using JBuilder 3.0 and Swing to build a MDI application.  I've
noticed
>> that when I have seleected the Java look-and-feel all of the internal
frames
>> have the 'Java' look, but the outermost main frame keeps the Windows
>> look-and-feel.  I seem to remember seeing Java programs where the entire
>> application had the 'Java' look-and-feel.  Is there a way to do this, or
am
>> I imagining things?
>>
>> Thanks,
>> Ken
>
>--
>
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>Rich Wilkman
>Quality Assurance Manager
>Borland JBuilder Team
>
>If you see something that looks like an opinion up there,
>it's mine and mine alone.
>
>Mail sent to me from the newsgroups won't bounce but will
>be ignored.  If I have time, I'll respond, but you  have
>a better chance if you confine your posts to the newsgroups
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <7nskah$cl719@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7nsgm5$clj25@forums.borland.com> <37A1CDB4.1A5467F6@inprise.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,e4d6ab0d05427e49
X-Google-Attributes: gid111d45,public
From: "Ken Sprague" <ksprague@msn.com>
Subject: Re: Consistent look-and-feel
Date: 1999/07/30
Message-ID: <7nskah$cl719@forums.borland.com>
X-Deja-AN: 507031530
References: <7nsgm5$clj25@forums.borland.com> <37A1CDB4.1A5467F6@inprise.com>
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: borland.public.jbuilder.java.swing