This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
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 Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to show Modelless Frame" Watch "How to show Modelless Frame" New topic

How to show Modelless Frame

Vishal Patel

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: 273
Pls. elaborate your qn.
Kriti Garg
Ranch Hand

Joined: Sep 13, 2004
Posts: 50

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.

jQuery in Action, 3rd edition
subject: How to show Modelless Frame
It's not a secret anymore!