It's not a secret anymore!*
The moose likes Swing / AWT / SWT and the fly likes Making Frame modal Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Making Frame modal" Watch "Making Frame modal" New topic

Making Frame modal

Harry Pattern

Joined: Nov 27, 2002
Posts: 23
Hi guys,
How can make a frame modal. That is if a frame has been loaded, the frame behind should not be accessible.
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Perhaps a java.awt.Dialog, a javax.swing.JDialog, or a javax.swing.JOptionPane could be used to accomplish what you're trying.
[ April 12, 2003: Message edited by: Dirk Schreckmann ]

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
I agree. Here's the link:
subject: Making Frame modal
Similar Threads
Is there any possibility to make a frame a Modal one ??
What is it called when you force the user to deal with that window before they can move on?
Modal Window
Modal JWindow
Modal JWindow