--- old/src/java.desktop/share/classes/java/awt/Taskbar.java 2017-03-15 16:38:53.000000000 +0300 +++ new/src/java.desktop/share/classes/java/awt/Taskbar.java 2017-03-15 16:38:52.000000000 +0300 @@ -274,6 +274,8 @@ /** * Requests user attention to the specified window. * + * Has no effect if this window is not visible in the task area. + * * @param w window * @throws SecurityException if a security manager exists and it denies the * {@code RuntimePermission("canProcessApplicationEvents")} permission. @@ -375,6 +377,8 @@ * for the specified window. * It may be disabled by system settings. * + * Has no effect if this window is not visible in the task area. + * * @param w window to update * @param badge image to affix to the icon * @throws SecurityException if a security manager exists and it denies the @@ -409,6 +413,8 @@ /** * Displays a determinate progress bar in the task area for the specified * window. + * + * Has no effect if this window is not visible in the task area. *
* The visual behavior is platform and {@link State} dependent. *
@@ -437,6 +443,8 @@ /** * Sets a progress state for a specified window. + * + * Has no effect if this window is not visible in the task area. *
* Each state displays a progress in a platform-dependent way. *