static void removeCheckbox(@NotNull JPanel panel, @NotNull String srcText) {
        JCheckBox checkbox = findCheckbox(panel, srcText);
        if (checkbox != null) {
            panel.remove(checkbox.getParent());
        }
    }
static void removeCheckbox(@NotNull JPanel panel, @NotNull String srcText)