Article View: borland.public.jbuilder.java.language
Article #14446Re: How to get MetalLookAndFeel()
From: Ernesto Gonzalez
Date: Mon, 30 Aug 1999 00:00
Date: Mon, 30 Aug 1999 00:00
24 lines
1536 bytes
1536 bytes
Metal is the default look and LookAndField in an application. So, if you do not specify any, Metal going to be used. UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName()); if you want to use a platform independent LookAndFeel (Metal) or UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); if you want to use the OS LookAndFeel Bill Bell <billb@airmail.net> wrote in message news:37C7DCBC.F85C9094@airmail.net... > I have JBuilder3 and I am trying to set the program to use > MetalLookAndFeel(); > > I put the following line in my source code and I got the following > error. Is the MetalLookAndFeel no longer part of the release? It > compiled ok. > > UIManager.setLookAndFeel(new > com.sun.java.swing.plaf.metal.MetalLookAndFeel()); > > Cannot access class com.sun.java.swing.plaf.metal.MetalLookAndFeel: > Neither class nor source found. > > Thanks for any help on this.
Technical Details
Message-ID:
<7qet0o$7112@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<37C7DCBC.F85C9094@airmail.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,978d081bea06e0 X-Google-Attributes: gidf74b3,public From: "Ernesto Gonzalez" <eglez@bellsouth.net> Subject: Re: How to get MetalLookAndFeel() Date: 1999/08/30 Message-ID: <7qet0o$7112@forums.borland.com> X-Deja-AN: 519036630 References: <37C7DCBC.F85C9094@airmail.net> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Reply-To: "Ernesto Gonzalez" <eglez@bellsouth.net> Newsgroups: borland.public.jbuilder.java.language