Tutorial: window.setBounds

window.setBounds

Sets the window's size and position

Example

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

mainWindow.setBounds(100, 200, 400, 400);