Article View: borland.public.jbuilder.java.swing
Article #10883Re: Consistent look-and-feel
From: Alexander Docter
Date: Mon, 02 Aug 1999 00:00
Date: Mon, 02 Aug 1999 00:00
37 lines
1863 bytes
1863 bytes
Ken, The reason that you see the frame in windows-style and the rest in other style is that the drawing of class JFrame is done by the operating system. so if you're working under windows the outer frame will have the windows look and feel. Most other components, like JInternalFrame, are controlled totally (and so, drawn totally) by java. So, if you have something like UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName()); then the outer frame looks like windows and the rest will have the metal look. On another OS the outer look will change, however. Alexander Docter OO Engineer E*norm the E-CLIPSE company http://www.e-norm.com Ken Sprague wrote in message <7nsgm5$clj25@forums.borland.com>... >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 > >
Technical Details
Message-ID:
<933573880.244388@newsreader2.wirehub.nl>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7nsgm5$clj25@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: "Alexander Docter" <alexander@e-norm.com> Subject: Re: Consistent look-and-feel Date: 1999/08/02 Message-ID: <933573880.244388@newsreader2.wirehub.nl> X-Deja-AN: 507851062 Cache-Post-Path: newsreader2.wirehub.nl!unknown@ip195-86-113-223.dyn.wirehub.net References: <7nsgm5$clj25@forums.borland.com> Organization: Wirehub! Internet, The Netherlands (complaints to abuse@wirehub.net) X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Newsgroups: borland.public.jbuilder.java.swing