Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to show Modelless Frame

 
Vishal Patel
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to show one frame from another frame. And at a time we can work on most shown frame.
 
Gurumurthy Ramamurthy
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pls. elaborate your qn.
 
Kriti Garg
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic