void () { Object selectedItem = myComboBox.getSelectedItem(); if (selectedItem instanceof ActionIconInfo selectedInfo) { if (setCustomIcon(mySelectedSchema, myNode, selectedInfo, getContentPane())) { myActionsTree.repaint(); CustomActionsSchema.setCustomizationSchemaForCurrentProjects(); } } super.doOKAction(); }