private JCheckBoxMenuItem button;
public MapPaintAction(StyleSource style) {
super(style.getDisplayString(), style.icon == null ? null : ImageProvider.getIfAvailable(style.icon),
tr("Select the map painting styles"), null, true, "mappaint/" + style.getDisplayString(), true);
this.button = new StayOpenCheckBoxMenuItem(this);
this.style = style;
updateButton();
}