Solved

Frame window always on top

Posted on 1997-07-22
3
880 Views
Last Modified: 2008-02-26
I'd like to know if there is a way to keep a Frame window
always on top in an applet.  My applet runs as a Frame an
opens several other frames that I'd like to keep on top.

I'm aware that Window has toBack and toFront methods.  When
would I call the toFront?
0
Comment
Question by:gerry99
  • 2
3 Comments
 
LVL 1

Author Comment

by:gerry99
ID: 1223645
Adjusted points to 100
0
 

Accepted Solution

by:
hleungta earned 100 total points
ID: 1223646
I got the same problem: i wanted to display "modal " frame from applet.
I'm calling toFront() when my frame is losing the focus. If the
user wants to close the frame, i'm setting a flag so that toFront() is not called.

0
 
LVL 1

Author Comment

by:gerry99
ID: 1223647
I tried this, and it works for Netscape Commincator 4.0, it does not work with IE 3.02.  (Because microsoft's implementation of the method "toFront" is broken.)

While the techique works, with Netscape toFront also grabs the focus again, so this would only be useful for modal dialogs.  I had hoped to use it for non-modal information windows.  Oh well.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Apps blocked by Java 9 88
difference of if loops 23 62
How to execute a Python program and gather return output in Java 2 40
Java syntax, or is it Selenium 6 30
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question