code: private DialogBaseUnits computeGlobalDialogBaseUnits() {
          LOGGER.config("Computing global dialog base units...");
          Font dialogFont = getDefaultDialogFont();
          FontMetrics metrics = createDefaultGlobalComponent().getFontMetrics(dialogFont);
          DialogBaseUnits globalDialogBaseUnits = computeDialogBaseUnits(metrics);
          return globalDialogBaseUnits;
      }
docs: Computes the global dialog base units. The current implementation assumes a fixed 8pt font
  and on 96 or 120 dpi. A better implementation should ask for the main dialog font and should
  honor the current screen resolution.<p>
  
  Should be re-computed if the l&amp;f, platform, or screen changes.
  
  @return a DialogBaseUnits object used globally if no container is available