A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
Swing / AWT / SWT
how to restrict the focus between parent and child JFrame??
Joined: Feb 24, 2011
Jun 15, 2011 03:09:04
I have a parent
it contain a
. functionality of that button is to open another
I want to restrict the focus of
, means after closing the second
focus should come into first
And focus should not come to first JFrameif second
it is something like when you click on eclipse for create new project that time a window appear but without closing that small window
you can not perform action in the eclipse main window.
Stephan van Hulst
Joined: Sep 20, 2010
Jun 15, 2011 03:29:40
It sounds like you want to use a modal window. Take a look at the
class, it can create and display dialog windows for you.
I agree. Here's the link:
subject: how to restrict the focus between parent and child JFrame??
How to close JOptionPane Dialog box & come parent frame??
Focus to Popup window
HFSJ Final Mock Question 47
Making a child window modal
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014