Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Tim Cooke
Campbell Ritchie
Ron McLeod
Junilu Lacar
Liutauras Vilda
Sheriffs:
Paul Clapham
Jeanne Boyarsky
Henry Wong
Saloon Keepers:
Tim Moores
Tim Holloway
Stephan van Hulst
Piet Souris
Carey Brown
Bartenders:
Jesse Duncan
Frits Walraven
Mikalai Zaikin
Forum:
Java in General
Making a child window modal
L Richardson
Greenhorn
Posts: 9
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I am trying to use the open.window to get a new window
how can I make it modal so that I can still access the parent window thru code but cant switch focus to parent window until closing child window.
Thank you
Cindy Glass
"The Hood"
Posts: 8521
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Make the parent window a Frame and make the child window a Dialog. It has a constructor:
Dialog(Frame owner, boolean modal)
"JavaRanch, where the deer and the Certified play" - David O'Meara
David Shepherd
Ranch Hand
Posts: 35
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Are you talking about Javascript or
Java
?
Cindy Glass
"The Hood"
Posts: 8521
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Java. This IS a java forum. We have a different forum called "HTML and JavaScript" for JavaScript questions.
"JavaRanch, where the deer and the Certified play" - David O'Meara
Uh oh, we're definitely being carded. Here, show him this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Modal dialog for a popup
keeping pop up window active until clicked
parent window notification
parent window notification
Calling parent function when user closes child window
More...