aspose file tools*
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
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
Modal JWindow
What is it called when you force the user to deal with that window before they can move on?
Is there any possibility to make a frame a Modal one ??
Modal JWindow
Modal Window