Returns an instance of the current window. Examplevar finWindow = fin.desktop.Window.getCurrent(); finWindow.close();