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]
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Making Frame modal