netbeans icon indicating copy to clipboard operation
netbeans copied to clipboard

Avoid a missing JCheckBoxItem checkmark for boolean actions without an icon

Open eirikbakke opened this issue 1 year ago • 0 comments

In menu bars, a boolean action will become a JCheckBoxMenuItem which can work with or without a custom icon. If the action has no icon of its own, the LAF will provide a checkmark icon instead, which is good. But due to a bug in org.openide.awt.Actions, a blank icon is used instead. Fix this so the checkmark properly appears in this case.

(Mostly relevant for NetBeans Platform apps; I haven't seen this case appear in the NetBeans IDE.)

eirikbakke avatar Jun 13 '24 19:06 eirikbakke