File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to show Modelless Frame

 
Vishal Patel
Greenhorn
Posts: 13
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pls. elaborate your qn.
 
Kriti Garg
Ranch Hand
Posts: 50
  • 0
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic