void (@NotNull InlineProgressIndicator indicator) { JComponent component = indicator.getComponent(); int index = myIndicatorPanel.getComponentZOrder(component); if (index == -1) { return; } myIndicatorPanel.remove(component); if (index == 0 && myIndicatorPanel.getComponentCount() > 0) { hideSeparator(myIndicatorPanel.getComponent(0)); } revalidateAll(); }