File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes JFrame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JFrame" Watch "JFrame" New topic


Raja Kannappan
Ranch Hand

Joined: May 08, 2002
Posts: 83
I've a JFrame. It is non-modal. Is there a way to make it modal? I know I can use JDialog. But, I want to know whether there is a way to make my JFrame as modal without changing it to JDialog?
- Raja.

Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
Same question as for the other poster. Why do you think you have to use JFrame?
Consider Paul's rocket mass heater.
subject: JFrame
jQuery in Action, 3rd edition