🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Consistent look-and-feel

#10872
From: Rich Wilkman
Date: Fri, 30 Jul 1999 00:00
81 lines
3047 bytes
Ken:

Well, that should get you Metal.  Perhaps the apps you were looking at
were using CDE/Motif?  Try setting your L&F to that explicitly to see if
it's the result you were looking for.

There are only 4 basic L&Fs and only 2 that you can legally distribute
cross platform (maybe only 1 if CDE/Motif is treated like Windows).

-Rich

Ken Sprague wrote:
> 
> 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
> >=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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: <37A1D8BA.D6574EC3@inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7nsgm5$clj25@forums.borland.com> <37A1CDB4.1A5467F6@inprise.com> <7nskah$cl719@forums.borland.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: Rich Wilkman <rwilkman@inprise.com>
Subject: Re: Consistent look-and-feel
Date: 1999/07/30
Message-ID: <37A1D8BA.D6574EC3@inprise.com>
X-Deja-AN: 507037539
Content-Transfer-Encoding: 7bit
References: <7nsgm5$clj25@forums.borland.com> <37A1CDB4.1A5467F6@inprise.com> <7nskah$cl719@forums.borland.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing