JLayeredPane layeredPane = findLayeredPane(this);
if(embeddedPanel != null && embeddedPanel.isHiddenReparenting) {
layeredPane.setLayer(embeddedPanel, Integer.MIN_VALUE);
layeredPane.add(embeddedPanel);
layeredPane.invalidate();
layeredPane.validate();
nativeComponentWrapper.restoreFromHiddenParent();
embeddedPanel.isHiddenReparenting = false;
}
boolean isEmbeddedPanelCreated = embeddedPanel != null;
if(isEmbeddedPanelCreated) {