code: public void installBorder(JRootPane root) {
          int style = root.getWindowDecorationStyle();
  
          if (style == JRootPane.NONE) {
              LookAndFeel.uninstallBorder(root);
          } else {
              root.setBorder(new SeaGlassBorder(this, new Insets(0, 1, 1, 1)));
          }
      }
docs: Installs the appropriate <code>Border</code> onto the <code>
  JRootPane</code>.
  
  @param root the root pane.