Gives focus to the window. Example var finWindow = fin.desktop.Window.getCurrent(); finWindow.focus();