Activates the window.
window w = new window();
Activates the window if it is displayed. If it is the non-display (minimum), the window is displayed with the previous state, and activates.
Please note that if this method is executed while a child window (such as a message dialog) is displayed, the method will not work properly.
Links for reference