<Swing Dev> taskbar icon badge issue
Alan Snyder
javalists at cbfiddle.com
Sun Oct 25 16:23:18 UTC 2020
I’m confused by this code in Taskbar:
public void setIconBadge(final String badge) {
checkEventsProcessingPermission();
checkFeatureSupport(Feature.ICON_BADGE_NUMBER);
peer.setIconBadge(badge);
}
which requires ICON_BADGE_NUMBER even though ICON_BADGE_TEXT is specified as acceptable in the documentation.
I’m also confused by why ICON_BADGE_NUMBER is not supported on macOS 10.15.6 in JDK 15, as the underlying OS issue reported in JDK-8230869 has been fixed. It works fine from JDK 12.
Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/swing-dev/attachments/20201025/38e69246/attachment.htm>
More information about the swing-dev
mailing list