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

For set focus on frame..

 
arun singhal
Ranch Hand
Posts: 41
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have one frame in main window.
I have one button for "edit user" .
When I click on button "edit user" , then one new window open for edit user ...
Now i want that anyone can not click on main frame f..
means user can only click on new window of "edit user" and when user close new window then he can take command of main frame...
Please solve this problem..
 
Rok Ć telcer
Ranch Hand
Posts: 101
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

If I understood you correctly, you'll need a model dialog and nothing else.
So, instead of creating a new JFrame, you should create a new JDialog.


Regards,
Rok
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic