setModal(boolean) method for a Frame?

Posted on 2000-05-04
Medium Priority
Last Modified: 2012-06-21
There's a setModal(boolean) method for a Dialog, and what should I do in order to make my Frame modal?
Question by:kalle73
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
  • 4
  • 2

Expert Comment

ID: 2777167
You can't. Frames can't be modal.

Author Comment

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.

Author Comment

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.
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

LVL 16

Accepted Solution

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

Author Comment

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.
LVL 16

Expert Comment

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

Author Comment

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

Featured Post

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
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…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
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 …
Suggested Courses
Course of the Month13 days, 23 hours left to enroll

800 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