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 7171065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T15:20:14+00:00 2026-05-28T15:20:14+00:00

I have 3 layered window (like Gimp software). All my JWindow is assigned to

  • 0

I have 3 layered window (like Gimp software). All my JWindow is assigned to setAlwaysOnTop for some display reasons with (xrandr --output VGA --left-of LVDS).

But I need one out of those three to be “the super main always on top, whatever it moves or get drags it always stay as super on top”. How can I set that one?

Toolbox.java << he should be the very very super on top always for any drag or etc

public class Toolbox extends JWindow
{
  public Toolbox() {
    ..
    this.setVisible(true);
    this.setAlwaysOnTop(true);
  }
}

Layers.java < normal as it is

public class Layers extends JWindow
{
  public Layers() {
    ...
    this.setVisible(true);
    this.setAlwaysOnTop(true);
  }
}

Drawing.java < normal as it is

public class Drawing extends JWindow
{
  public Drawing() {
    ...
    this.setVisible(true);
    this.setAlwaysOnTop(true);
  }
}

$ java -jar MyGimp.jar
- first it launch Drawing
- secondly it launch Layers
- Thirdly at the end it launch Toolbox
- But in Display I see only Drawing and Layers sometimes, but I never see Toolbox

When I launch the Drawing window then all my toolbox and layers window gets behind. But I want Toolbox window forever stay on top unless I close it. How to do that?

  • 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-28T15:20:15+00:00Added an answer on May 28, 2026 at 3:20 pm

    The last component that is set to be on top overrides any previous components. What you do is just reset the Toolbox to be on top after you create Drawing.

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

Sidebar

Related Questions

I would like to have a layered window that is always-on-top, which I can
I have an 3-layered project, so that all Linq-Querys himself are in the DAL.
I have a layered window set up in my MFC application. I have set
I have the following code to display an absolutely positioned (layered with z-index) element
if i have 2 divs (z index is not assigned), one layered over the
On Microsoft Windows, is it possible to have a click through window (where all
I have a layered application in Java which has a multi thread data access
We have a layered application, or at least is in the process of transitioning
I have a layered application with namespaces: App.Core - business layer logic services App.Data
I have a layered worker class that I'm trying to get progress reports from.

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.