Meaningless Drivel is fun!
The moose likes GWT and the fly likes How to close a window in GWT ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "How to close a window in GWT ?" Watch "How to close a window in GWT ?" New topic
Author

How to close a window in GWT ?

Adi Vicks
Greenhorn

Joined: Feb 23, 2012
Posts: 9
Can you please tell me how to close a browser window in gwt ? Window.open opens a new window. But i have a cancel button on the opened window which should close it.
Any idea ?
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10565
    
    9

There is no built in method for closing. You will have to go native with something like


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to close a window in GWT ?