Solved

setModal(boolean) method for a Frame?

Posted on 2000-05-04
7
251 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
Comment Utility
You can't. Frames can't be modal.
0
 

Author Comment

by:kalle73
Comment Utility
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
Comment Utility
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 16

Accepted Solution

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

Author Comment

by:kalle73
Comment Utility
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_
Comment Utility
well - the only difference is that
1. Dialog does not have menu
2. Frame can't be modal.
0
 

Author Comment

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

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…

743 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

16 Experts available now in Live!

Get 1:1 Help Now