code: public void uninstallDefaults() {
          SeaGlassContext context = getContext(this, ENABLED);
  
          style.uninstallDefaults(context);
          context.dispose();
          style = null;
          JInternalFrame.JDesktopIcon di = frame.getDesktopIcon();
  
          if (di != null && di.getComponentPopupMenu() == systemPopupMenu) {
  
              // Release link to systemMenu from the JInternalFrame
              di.setComponentPopupMenu(null);
          }
      }
docs: Uninstall the defaults.