Article View: borland.public.jbuilder.java.swing
Article #1814Windows Look & Feel for applet?
From: Ramon F Herrera
Date: Sat, 02 Aug 2003 17:30
Date: Sat, 02 Aug 2003 17:30
18 lines
1519 bytes
1519 bytes
The following line changes the default (Metal) look and feel
only when I run my applet from JBuilder:
UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
However, when the applet runs from the web server, I still
get the Metal look & feel. I guess I should upload a file
to the server and create a directory tree such as:
com/sun/java/swing/windows/...
but I am not sure about the details. Is this the correct
solution? Where do I get the file(s) above?
TIA,
-Ramon F. Herrera
Technical Details
Message-ID:
<3F2BF51B.2020307@jonjay.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,b0ac4314a1e5d01e,start X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2003-08-02 10:31:36 PST Message-ID: <3F2BF51B.2020307@jonjay.com> Date: Sat, 02 Aug 2003 13:30:03 -0400 From: Ramon F Herrera <ramon@jonjay.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing Subject: Windows Look & Feel for applet? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.61.5.75 X-Trace: newsgroups.borland.com 1059845403 24.61.5.75 (2 Aug 2003 10:30:03 -0700) Lines: 19 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail