🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Window Size

#9056
From: Trejkaz Xaoza
Date: Thu, 08 Jun 2000 00:00
26 lines
1614 bytes
"John P. McGrath" wrote:
> This does not really address Sven's problem.  Toolkit.getScreenSize()
> will return the full size of the screen, but I believe he wants to know
> the size of a "maximized" frame.  On Windows, the difference is the size
> of the task bar, and X11 window managers often implement a similar
> concept.
> 
> Unfortunately, there is now way to obtain this information from Java as
> things stand now.

I'm now left wondering how JBuilder does it. :-)

> I do not know what the implementation will look like.  It may be modeled
> after JInternalFrame, which implements a form of maximizing.  Or it may
> just be a new MAXIMIZED state for a Frame, which can currently be set to
> NORMAL or ICONIFIED.

That would be a lot cleaner.  Actually, when I first learned Java back
in
the 1.0 days I was horrified to learn that it didn't have a way to
simply
maximise a window.  It's amazing that they *still* haven't implemented
it in
the AWT/Swing libraries. :-(

TX
Technical Details
Message-ID: <393F207A.77C0B96A@darker.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3937621d@dnews> <8h8oij$2k711@bornews.borland.com> <MPG.13a250403fc5a737989983@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,9db65bfcab895cb7
X-Google-Attributes: gid111d45,public
From: Trejkaz Xaoza <trejkaz@darker.net>
Subject: Re: Window Size
Date: 2000/06/08
Message-ID: <393F207A.77C0B96A@darker.net>
X-Deja-AN: 632460815
Content-Transfer-Encoding: 7bit
References: <3937621d@dnews> <8h8oij$2k711@bornews.borland.com> <MPG.13a250403fc5a737989983@forums.borland.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing