void (boolean includeInvisible) { ThreadingAssertions.assertEventDispatchThread(); for (ActionToolbarImpl toolbar : new ArrayList<>(ourToolbars)) { toolbar.updateActionsImmediately(includeInvisible); for (Component c : toolbar.getComponents()) { if (c instanceof ActionButton) { ((ActionButton)c).updateToolTipText(); ((ActionButton)c).updateIcon(); } toolbar.updateUI(); } } }