code: protected void installLaFStyleSheet() {
          Font defaultFont = UIManager.getFont("Button.font");
          String stylesheet = "body {  font-family: " + defaultFont.getName() + "; font-size: " + defaultFont.getSize()
                  + "pt;  }" + "a, p, li { font-family: " + defaultFont.getName() + "; font-size: "
                  + defaultFont.getSize() + "pt;  }";
          try {
              ((HTMLDocument)getDocument()).getStyleSheet().loadRules(new StringReader(stylesheet), null);
          }
          catch (IOException e) {
          }
      }
docs: Applies the current LaF font setting to the document.