Tutorial: window.focus

window.focus

Gives focus to the window.

Example

var finWindow = fin.desktop.Window.getCurrent();

finWindow.focus();