🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Setting JFrame to be maximisded???

#12056
From: Xavier Witdouck
Date: Mon, 01 Mar 1999 00:00
20 lines
1095 bytes
Hi All,

This is probably a basic question, but is it possible to set a JFrame to be
maximised in code???  A setMaximised(true) method doesn't seem to exist in
JFrame or in awt.Frame.

The reason I ask is that  am capturing the size of the window when the user
closes an app and I record this in the .ini file, but when I restart,
because of the task bar, the window is located slight down from the bottom
of the screen and is not in a maximised state.  Is there a way to workaround
this???

Thanks in advance,

Xavier Witdouck


Dresdner Bank
Tel 0171 475 1265
e-mail: xavier.witdouck@dresdnerkb.com
Technical Details
Message-ID: <7behra$b815@ln1p0207inf.gb.dresdnerkb.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,fa5fa82fdcabca13,start
X-Google-Attributes: gid111d45,public
From: "Xavier Witdouck" <xavier.witdouck@dresdnerkb.com>
Subject: Setting JFrame to be  maximisded???
Date: 1999/03/01
Message-ID: <7behra$b815@ln1p0207inf.gb.dresdnerkb.com>
X-Deja-AN: 450024998
Organization: Dresdner Kleinwort Benson
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Newsgroups: borland.public.jbuilder.java.swing