Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Frame window always on top

Posted on 1997-07-22
3
Medium Priority
?
901 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 1

Author Comment

by:gerry99
ID: 1223645
Adjusted points to 100
0
 

Accepted Solution

by:
hleungta earned 300 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses

609 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