public final void addLayerToPane(@NotNull JComponent component) {
    ThreadingAssertions.assertEventDispatchThread();
    getComponent(); // Make sure component exists
    component.setOpaque(false);
    component.setVisible(true);
    myJLayeredPane.add(component, null, 0);
  }
public final void addLayerToPane(@NotNull JComponent component)