Solved

setModal(boolean) method for a Frame?

Posted on 2000-05-04
7
259 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
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This video teaches viewers about errors in exception handling.

809 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