Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8138293
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T11:26:49+00:00 2026-06-06T11:26:49+00:00

Yes some questions get close :) There is a Bug in Java ( been

  • 0

Yes some questions get close 🙂

There is a Bug in Java ( been around and reported since 2011, seems like there is no effort being made to fix it either – should be handled on the native side of the VM)

That is when you maximize an “undecorated” window, or a window drawn wihth a PLAF look and feel, it will cover the windows taskbar. Fine – desirable when you want it, but when you do want the taskbar maximized windows cover it. setting the “always on top” proerty doesn make any difference.

Yes one can resize a window BUT one has to know where the task bar is, or the size of the screen minus the taskbar – know how to do that?

and one needs to know you are maximizing on a screen without a taskbar if that is being done. and if on a multimonitor virtual desktop …

Any ideas 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T11:26:50+00:00Added an answer on June 6, 2026 at 11:26 am

    Yes one can resize a window BUT one has to know where the task bar is,
    or the size of the screen minus the taskbar – know how to do that?

    Yes:

    1.Look up the graphic device you are on (assuming p is a Point of the Screen you are looking for):

    GraphicsConfiguration graphicsConfiguration = null;
    for (GraphicsDevice gd : GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()) {
        if (gd.getDefaultConfiguration().getBounds().contains(p)) {
            graphicsConfiguration = gd.getDefaultConfiguration();
            break;
        }
    }
    

    2.Look at the screen bounds (watch out that some bounds location are negative with multiple screens – for example, if you have a secondary screen which is on the left of your main screen), the screen size and the “Insets” of the screen which are usually the taskbar and/or other graphical artifacts:

    Rectangle screenBounds = graphicsConfiguration.getBounds();
    Dimension screenSize = screenBounds.getSize();
    Insets screenInsets = Toolkit.getDefaultToolkit()
         .getScreenInsets(graphicsConfiguration);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

[Updated with partial answers, some more detailed questions.] Does CouchDB support multi-domain hosting? Yes,
I'm trying to get regexp to match some nested tags. (Yes I know I
I've been working on some solutions for some questions that have been recently posted
I'm looking at some code with this form: 1 package com.stackoverflow.java.questions; 2 import java.util.ArrayList;
i have big decision tree with many Yes/No questions. i need implement some code
I know there are already some questions and extensive answers about RMagick for Ruby
Yes i have been through the other questions that are related to this, but
When I create the saved procedure, i can create some variable yes? for example:
I have some data, yes, data. This data came from a MySQL query and
Quick yes/no - I'm building an AJAX application and some scripts require authentication. Can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.