This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply locked New topic

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..
Michal Samos

Joined: Nov 27, 2009
Posts: 4
Use JDialog for new window
Rob Spoor

Joined: Oct 27, 2005
Posts: 19541

Please Use One Thread Per Question. Let's continue here.

How To Ask Questions How To Answer Questions
I agree. Here's the link:
subject: For set focus on frame..
Similar Threads
sharing Panel between frames
How to communicate between to containers
For set focus on frame..
create a new window in a JFrame
how to disable parent jframe when child jframe is active