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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T06:19:52+00:00 2026-06-03T06:19:52+00:00

I have an applet which has two buttons on it: When we click Button1

  • 0

I have an applet which has two buttons on it:

When we click Button1 a Frame is opened.
When we click Button2 a Dialog (which is a child the new frame) is presented.

Now suppose if when we click on Button1 then the new frame that is opened is now positioned behind my applet and not completely aligned with it (not minimized)

Now, when I press Button2 the Dialog that pops up is in front of my applet, but when I click on the header of the dialog, then both the applet and frame are brought forward (they both get displayed simultaneously).

So I basically want to have just the applet behind the dialog whenever it is clicked (leaving the Frame in the background)

  • 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-03T06:19:54+00:00Added an answer on June 3, 2026 at 6:19 am

    Add a frame.setVisible(false); in Button2‘s ActionListener.

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

Sidebar

Related Questions

I have a function which has two parameters, both objects. I change these objects
I have a content div, that has a header div, which contains two other
New to python, bear with me. I have two text files, each has a
I have an applet which runs in a browser and is called from Javascript.
I have written a java applet which opens a JFrame (so when run in
I have a client application which runs as a Java applet from a user's
I have what I think is an interesting question. I have two arrays which
my applet depends on two JAR libraries. Each JAR library has a dependency on
I have two projects, a Cocoa iPhone application and a static library which it
I have an applet which displays some data using circles and lines. As the

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.