aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes How to show Modelless Frame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to show Modelless Frame" Watch "How to show Modelless Frame" New topic
Author

How to show Modelless Frame

Vishal Patel
Greenhorn

Joined: Jun 22, 2004
Posts: 13
I want to show one frame from another frame. And at a time we can work on most shown frame.
Gurumurthy Ramamurthy
Ranch Hand

Joined: Feb 13, 2003
Posts: 272
Pls. elaborate your qn.
Kriti Garg
Ranch Hand

Joined: Sep 13, 2004
Posts: 50
Hi,

the method setModal(true) is available in JDialog not in JFrame.

what you can do is onshowing of second frame setFocable and setEnabled to false of first frame again setting then to tru when second frame closes.

or use JDialog.

Kriti
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to show Modelless Frame