Article View: borland.public.jbuilder.java.swing
Article #856Re: maximise swing application window hides windows taskbar
From: David Bolsover
Date: Sat, 09 Oct 2004 11:18
Date: Sat, 09 Oct 2004 11:18
62 lines
2648 bytes
2648 bytes
David Many thanks for the info... I changed the LandF from: UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName()); to: UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); .. this has solved the problem for now -- just means I'm stuck with the naff M$ LandF until I explore some options. David "David C. Browne" <hyperfatigued-removethispart@comcast.net> wrote in message news:41671188$1@newsgroups.borland.com... >I seem to only have this problem using the default or other Metal-based >PLAFs and using JFrame decorations: > > JFrame.setDefaultLookAndFeelDecorated(true); > > Not using JFrame decorations or switching to the Windows or Motif look and > feel should prevent the taskbar hiding. Note that setting the look and > feel decorations to false for a particular instance of a JFrame won't > solve the problem. > > JFrame.setDefaultLookAndFeelDecorated(true); > JFrame f = new JFrame(); > f.setDefaultLookAndFeelDecorated(false); > // maximize still hides taskbar > > > If you aren't using decorations, then I have no idea what your problem may > be. > > For reference, my setup: > > Microsoft Windows XP [Version 5.1.2600] (SP2) > > java version "1.4.2_05" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04) > Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode) > > Hope this helps, > David Browne > > > David Bolsover wrote: >> Hi all >> >> Using a JFrame for an application window - when maximised this hides the >> M$ taskbar - how do I prevent this? >> >> Any assitance would be helpful. >> >> Thanks >> >> David Bolsover
Technical Details
Message-ID:
<4167c8e5@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4166dd19$1@newsgroups.borland.com> <41671188$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,ac1a4bd9a75c0fee X-Google-Attributes: gid111d45,public X-Google-Language: ENGLISH,ASCII-7-bit From: "David Bolsover" <junk1@bolsover.com> Newsgroups: borland.public.jbuilder.java.swing References: <4166dd19$1@newsgroups.borland.com> <41671188$1@newsgroups.borland.com> Subject: Re: maximise swing application window hides windows taskbar Date: Sat, 9 Oct 2004 12:18:42 +0100 Lines: 64 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 NNTP-Posting-Host: 213.2.209.202 Message-ID: <4167c8e5@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1097320677 213.2.209.202 (9 Oct 2004 04:17:57 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail