permaculture playing cards
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
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.

I agree. Here's the link:
subject: How to show Modelless Frame
It's not a secret anymore!