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

  • SEARCH
  • Home
  • 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 6224255
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T08:38:25+00:00 2026-05-24T08:38:25+00:00

I was using a full screen window to something similar to screensaver. Using the

  • 0

I was using a full screen window to something similar to screensaver. Using the method here,

GraphicsEnvironment.getLocalGraphicsEnvironment()
                  .getDefaultScreenDevice()
                  .setFullScreenWindow(this);

But when the screen is locked, or the screensaver runs, and this screen is shown, this screen is shown on top. I can’t get access to the login prompt. So the java frame is on top and I can do nothing. I have to restart the computer to get rid of this.

Since when the login screen comes, no other window gets mouse/keyboard input. My window exit by pressing ESC or mouse movement events.

How can I get hold of the whole screen, but if the login dialog appears, it should be shown on top?

  • 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-05-24T08:38:25+00:00Added an answer on May 24, 2026 at 8:38 am

    I am afraid that clear, pure java solution does not exist here.
    I’d suggest you to check whether the screen saver is running before opening this full screen window. So the question is how to detect whether screen saver is running? You are welcome to search yourself but my fast investigation showed that you need platform specific code.

    The following link shows 2 solutions for windows: How to determine if a screensaver is running in Java?

    Probably the second solution can help you in case of MAC. Check whether you can identify the process of screen saver. If you can just get list of running processes (by execution external command line) and verify that such process is running.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am using togglefullscreen() function to ofc toggle between window mode & full screen
My flash program isn't using the full browser window, even while in full-screen mode.
I have developed a J2ME app using java.awt.Window as I want a full screen
I'm using this tutorial to create a full screen background. I want my content
I'm using this tutorial to create a full screen background. (UPDATE: Using height and
Would it be possible to show an image in full screen mode using silverlight.
I want to create full screen topmost (screen saver) window with MFC? How to
I am using a Full Screen application that is using DirectDraw functions for display
I'm developing a java full screen application. I would like to debug this application
I'm needing to do something full-screen app, which would usually not be the problem.

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.