Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #5464

Re: LookAndFeel on Windows 8?

From Knute Johnson <nospam@rabbitbrush.frazmtn.com>
Newsgroups comp.lang.java.gui
Subject Re: LookAndFeel on Windows 8?
Date 2015-03-03 16:29 -0800
Organization A noiseless patient Spider
Message-ID <md5jjc$m0o$1@dont-email.me> (permalink)
References <md29f1$vff$1@dont-email.me> <19661bb3-8dd6-4da4-b745-4ef4e7c04a35@googlegroups.com> <acp5ll8b6wd2.1aoy1pcppcyke$.dlg@40tude.net>

Show all headers | View raw


On 3/3/2015 10:33 AM, Joerg Meier wrote:
> On Tue, 3 Mar 2015 10:09:55 -0800 (PST), FredK wrote:
>
>> It has been my experience that the frame decorations are added by
>> the window manager, not by java. So you get whatever decorations
>> are native to the WM, regardless of what L&F you specify.
>
> I can not confirm that. In the past I have used a few L&Fs that have
> provided their own decorations. For example, Sea Glass looks like this on
> both my Windows XP Classic Theme and Windows 7 Aero Theme:
>
> <https://marisharingilmu.files.wordpress.com/2013/08/pemilihan_00116.png>
>
> Note the nonstandard border in particular.
>
> Liebe Gruesse,
> 		Joerg
>

So here's what I've figured out.  JFrame decorations are usually 
provided by the system but the Metal LookAndFeel can provide frame 
decorations.  This only applies to the outer most frame, inner frames 
can be decorated with the LAF.  I'm not sure why this is.

So I think my memory of having primary JFrames decorated with the 
Windows LAF are faulty.

Anyway, thanks for looking.

-- 

Knute Johnson

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Find similar


Thread

LookAndFeel on Windows 8? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2015-03-02 10:18 -0800
  Re: LookAndFeel on Windows 8? FredK <fred.l.kleinschmidt@gmail.com> - 2015-03-03 10:09 -0800
    Re: LookAndFeel on Windows 8? Joerg Meier <joergmmeier@arcor.de> - 2015-03-03 19:33 +0100
      Re: LookAndFeel on Windows 8? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2015-03-03 16:29 -0800

csiph-web