requestForeground([all_windows])
Class: SwingUI.
Description:
Requests operating system to move top-most window of this application (or all windows) to foreground before other windows. Operating may refuse to do it.
To forcefully bring a specific Window to the front you can set window.alwaysOnTop(true), and then window.alwaysOnTop(false), but it should not be abused in order to maintain a positive user experience.
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
|
|
boolean |
false |
Move all windows of this application to foreground instead of just top-most window. |
Returns:
returns this ui object for chaining.
Type: SwingUI
