838485868788899091
public synchronized void addAction(String actionName) { if (actionName == null || !(ui instanceof TitlebarUI)) return; TitlebarUI tbarUI = (TitlebarUI) ui; Action action = tbarUI.getAction(actionName); addAction(action); }