public static void uninstall(){
  final PopupFactory factory=PopupFactory.getSharedInstance();
  if (!(factory instanceof ShadowPopupFactory)) {
    return;
  }
  final PopupFactory stored=((ShadowPopupFactory)factory).storedFactory;
  PopupFactory.setSharedInstance(stored);
}

public static void uninstall ( ) { final PopupFactory factory = PopupFactory . getSharedInstance ( ) ; if ( ! ( factory instanceof ShadowPopupFactory ) ) { return ; } final PopupFactory stored = ( ( ShadowPopupFactory ) factory ) . storedFactory ; PopupFactory . setSharedInstance ( stored ) ; }
uninstalls the shadowpopupfactory and restores the original popup factory as the new shared popup factory .
