Article View: borland.public.jbuilder.java.language
Article #16575Re: Toolkit getScreenSize() and Windows Start Bar
From: Paul Furbacher
Date: Wed, 27 Jan 1999 00:00
Date: Wed, 27 Jan 1999 00:00
28 lines
1787 bytes
1787 bytes
Guy Scharf wrote: > > 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? You might look into a library called JConfig. It offers cross-platform, system-level utilities. I don't know if it will provide you with what you want, but it's a place to start. http://www.tolstoy.com/samizdat/jconfig.html Good luck. If your typical user is like me, it won't be showing. As yet, even with the power users I've met, no one does this. I guess it's my Mac heritage -- there's no need to show it when it's not needed. In addition, I put it on the left so that when the paths of open folders get really long, I can stretch it out to reveal the complete names. Of course, the Mac resizes the drop-down menu automatically. Oh well, it's unfortunate that too many of you take every word of John "the Idiot" Dvorak as gospel. Paul Furbacher
Technical Details
Message-ID:
<36AFD84B.2C88B63A@bilbo.bio.purdue.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36ADE344.1B9A5827@swarc.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,480b2a6b9cc6d356 X-Google-Attributes: gidf74b3,public From: Paul Furbacher <pf@bilbo.bio.purdue.edu> Subject: Re: Toolkit getScreenSize() and Windows Start Bar Date: 1999/01/27 Message-ID: <36AFD84B.2C88B63A@bilbo.bio.purdue.edu> X-Deja-AN: 437784336 Content-Transfer-Encoding: 7bit References: <36ADE344.1B9A5827@swarc.com> To: Guy Scharf <guy@swarc.com> Content-Type: text/plain; charset=us-ascii Organization: @Home Network Mime-Version: 1.0 Reply-To: pf@bilbo.bio.purdue.edu Newsgroups: borland.public.jbuilder.java.language