🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: window maximizing

#8540
From: Joi Ellis
Date: Mon, 14 Aug 2000 00:00
32 lines
2019 bytes
"Thomas G�lden" wrote:
> 
> I had the same problem and it seems that Java has not yet any statement that
> allows a frame to be maximized from code. The only workaround I do is that I
> save the app's main frame's size and location into a configuration file so
> that the app "remembers" the last settings before the users exited the app.
> Thus, if the user prefers to work always maximized the app will start always
> with a "nearly" maximized frame. The only problem is that the area of the
> Windows taskbar is not fully respected (lower border of the frame stays
> behind the taskbar).
> 
> Thomas G�lden
> Thomas.Guelden@t-online.de
> 
> "Tomas Urbanec" <urbi@i.am> schrieb im Newsbeitrag news:3997fe3d_1@dnews...
> > How can I maximize main app window at startup?
> >
> >

If your app remembers its geometry (size and position) when closed,
the size of the taskbar shouldn't be a problem.  If the user cared about
the taskbar, they'd have dealt with it themselves by resizing the
window manually.

--
Joi Ellis                    Software Engineer
Aravox Technologies          joi@aravox.com, gyles19@visi.com

No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried.  Anything
that kicks a monopoly in the pants has got to be good for something.
           - Chris Johnson
Technical Details
Message-ID: <39987953.4F2D15DA@aravox.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3997fe3d_1@dnews> <8n9lb7$cib5@bornews.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,a7528741a4f92723
X-Google-Attributes: gid111d45,public
From: Joi Ellis <joi@aravox.com>
Subject: Re: window maximizing
Date: 2000/08/14
Message-ID: <39987953.4F2D15DA@aravox.com>
X-Deja-AN: 658318085
Content-Transfer-Encoding: 8bit
References: <3997fe3d_1@dnews> <8n9lb7$cib5@bornews.borland.com>
To: Thomas Gülden <Thomas.Guelden@t-online.de>
X-Accept-Language: en
Content-Type: text/plain; charset=iso-8859-1
Organization: Aravox Technologies
Mime-Version: 1.0
Reply-To: joi@aravox.com
Newsgroups: borland.public.jbuilder.java.swing