🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #16738

Toolkit getScreenSize() and Windows Start Bar

#16738
From: Guy Scharf
Date: Tue, 26 Jan 1999 00:00
9 lines
883 bytes
When I use Toolkit.getDefaultToolkit().getScreenSize(), it returns the
total size of the screen, including the space used by the Windows NT
(and presumably 95/98?) start bar.  I'd like to get the dimensions
excluding the start bar, so that I can position and size a window that
doesn't overlap the start bar.  Is there any way to do this from Java?

Thanks.

Guy
Technical Details
Message-ID: <36ADE344.1B9A5827@swarc.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: f74b3,480b2a6b9cc6d356,start
X-Google-Attributes: gidf74b3,public
From: Guy Scharf <guy@swarc.com>
Subject: Toolkit getScreenSize() and Windows Start Bar
Date: 1999/01/26
Message-ID: <36ADE344.1B9A5827@swarc.com>
X-Deja-AN: 437139844
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Software Architects, Inc.
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language