This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes CLOSE WINDOW Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "CLOSE WINDOW" Watch "CLOSE WINDOW" New topic
Author

CLOSE WINDOW

MIA MIA MIA
Greenhorn

Joined: Sep 14, 2001
Posts: 3
Hello:
I have a window with two frames. If I execute self.close() in the frame of the left, only close the frame of the left, the frame of the rigth continue open.
How I can close the window in the frame of the left?
Regards Roberto.
Tony Ge
Greenhorn

Joined: Sep 05, 2001
Posts: 20
The code is:
parent.close();
MIA MIA MIA
Greenhorn

Joined: Sep 14, 2001
Posts: 3
Thanks Tony, but I execute you code and only close the frame of the left, too I ecxecute : window.close and neither run.
Brian Blesbok
Greenhorn

Joined: Sep 03, 2001
Posts: 9
try running the code in the top window that defined the frameset.
you could define a method in the top window called closeMe() and in that method you would have:
self.close();
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: CLOSE WINDOW
 
Similar Threads
Hw to shut down swing without using System.exit()
Marcus #38
Windows opened from menu items move down and to the right
Framed window...please help ..urgent
closing !!