aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes For set focus on frame.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "For set focus on frame.." Watch "For set focus on frame.." New topic
Author

For set focus on frame..

arun singhal
Ranch Hand

Joined: Oct 25, 2009
Posts: 41
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

Joined: Nov 03, 2009
Posts: 101
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


SCJP, SCWCD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: For set focus on frame..
 
Similar Threads
How to communicate between to containers
create a new window in a JFrame
For set focus on frame..
sharing Panel between frames
how to disable parent jframe when child jframe is active