Solved

setModal(boolean) method for a Frame?

Posted on 2000-05-04
7
254 Views
Last Modified: 2012-06-21
Hi!
There's a setModal(boolean) method for a Dialog, and what should I do in order to make my Frame modal?
0
Comment
Question by:kalle73
  • 4
  • 2
7 Comments
 
LVL 7

Expert Comment

by:Sasha_Mapa
ID: 2777167
You can't. Frames can't be modal.
0
 

Author Comment

by:kalle73
ID: 2777240
Thanks. Any suggestions how should I solve such a problem? What I want is to add my applet to some component (frame for now), which can be modal.
0
 

Author Comment

by:kalle73
ID: 2777246
Thanks. Any suggestions how should I solve such a problem? What I want is to add my applet to some component (frame for now), which can be modal.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 16

Accepted Solution

by:
heyhey_ earned 50 total points
ID: 2777520
why don't you use modal Dialog ?
0
 

Author Comment

by:kalle73
ID: 2777649
It requires a bunch of changes. Ok, I see I'm compelled to use Dialog now, just thought I can use my Frame... Nevertheless, thanks.
0
 
LVL 16

Expert Comment

by:heyhey_
ID: 2777656
well - the only difference is that
1. Dialog does not have menu
2. Frame can't be modal.
0
 

Author Comment

by:kalle73
ID: 2787901
Yep, actually it wasn't that hard to change the whole thing. Thanks once again.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
This video teaches viewers about errors in exception handling.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now