🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Consistent look-and-feel

#10885
From: Tor Iver Wilhelmsen
Date: Mon, 02 Aug 1999 00:00
15 lines
1234 bytes
"Ken Sprague" <ksprague@msn.com> writes:

> 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.

Yes: JFrame extends java.awt.Frame, and is a peered top-level native
window. Apparently, Sun don't want to do all the tricks required to
have the top-level windows take on a different look (it can be done
via some obscure API calls, I've seen some applications "override" the
Windows deafult looks) so you get what Windows wants regardless.

If JFrame was implemented as a Window instead, they could have a
L&F-defined painted border, as with JInternalFrame and the like.
Technical Details
Message-ID: <uemhmir6l.fsf@sds.no>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <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: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no>
Subject: Re: Consistent look-and-feel
Date: 1999/08/02
Message-ID: <uemhmir6l.fsf@sds.no>
X-Deja-AN: 507865996
Sender: towi@SDSA1761
References: <7nsgm5$clj25@forums.borland.com>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing