File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
Author

Making Frame modal

Harry Pattern
Greenhorn

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.
Thanks
Dirk Schreckmann
Sheriff

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