Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #5351

Finding the windows taskbar

X-Received by 10.224.53.198 with SMTP id n6mr2102330qag.2.1369847059182; Wed, 29 May 2013 10:04:19 -0700 (PDT)
X-Received by 10.50.33.14 with SMTP id n14mr542132igi.3.1369847059110; Wed, 29 May 2013 10:04:19 -0700 (PDT)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!p1no1369801qaj.0!news-out.google.com!y6ni57187qax.0!nntp.google.com!ch1no2762094qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.java.gui
Date Wed, 29 May 2013 10:04:18 -0700 (PDT)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=130.76.32.209; posting-account=_7xgmwoAAADi7iXKBO-oX5zbCfSzsCV0
NNTP-Posting-Host 130.76.32.209
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <da9c0cca-34e2-4823-8043-9e92b09f8c2c@googlegroups.com> (permalink)
Subject Finding the windows taskbar
From FredK <fred.l.kleinschmidt@gmail.com>
Injection-Date Wed, 29 May 2013 17:04:19 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.lang.java.gui:5351

Show key headers only | View raw


I want to find the bounds of the taskbar (on Windows) so that I can constrain the position and size of a dialog such that it does not overlap the taskbar.

For a single screen, I can use Toolkit.getDefaultToolkit().getScreenSize()
and toolkit.getScreenInsets().

But I have multiple screens, with the taskbar only on one of them.
I want to use the full screen size on the screens without the taskbar,
and the size minus insets on the one that does have it.

I don't know how to find which screen is displaying the taskbar, or,
alternatively, what the actual bounds of the taskbar are.

-- 
Fred K

Back to comp.lang.java.gui | Previous | Next | Find similar


Thread

Finding the windows taskbar FredK <fred.l.kleinschmidt@gmail.com> - 2013-05-29 10:04 -0700

csiph-web