🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: maximise swing application window hides windows taskbar

#854
From: David C. Browne
Date: Fri, 08 Oct 2004 22:15
44 lines
2191 bytes
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: <41671188$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!newsfeed.icl.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4166dd19$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
Date: Fri, 08 Oct 2004 15:15:37 -0700
From: "David C. Browne" <hyperfatigued-removethispart@comcast.net>
User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: maximise swing application window hides windows taskbar
References: <4166dd19$1@newsgroups.borland.com>
In-Reply-To: <4166dd19$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.171.158.174
Message-ID: <41671188$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1097273736 67.171.158.174 (8 Oct 2004 15:15:36 -0700)
Lines: 44
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!newsfeed.icl.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail