< prev index next >

src/java.desktop/share/classes/java/awt/Taskbar.java

Print this page

        

*** 354,364 **** * Affixes a small system-provided badge to this application's icon. * Usually a number. * * Some platforms do not support string values and accept only integer * values. In this case, pass an integer represented as a string as parameter. ! * This can be tested by {@code Feature.ICON_BADGE_STRING} and * {@code Feature.ICON_BADGE_NUMBER}. * * Passing {@code null} as parameter hides the badge. * @param badge label to affix to the icon * @throws SecurityException if a security manager exists and it denies the --- 354,364 ---- * Affixes a small system-provided badge to this application's icon. * Usually a number. * * Some platforms do not support string values and accept only integer * values. In this case, pass an integer represented as a string as parameter. ! * This can be tested by {@code Feature.ICON_BADGE_TEXT} and * {@code Feature.ICON_BADGE_NUMBER}. * * Passing {@code null} as parameter hides the badge. * @param badge label to affix to the icon * @throws SecurityException if a security manager exists and it denies the
< prev index next >