@Override
  public void dispose() {
    if (myShowing) {
      JRootPane rootPane = SwingUtilities.getRootPane(myComponent);
      if (rootPane != null) rootPane.repaint();
    }
  }
@Override
  public void dispose()