code: public void install(JComponent parent) {
          this.parent = parent;
  
          determineInsetsAndAlignment();
  
          //  Add this Border to the parent
  
          Border current = parent.getBorder();
  
          if (current == null) {
              parent.setBorder(this);
          } else {
              CompoundBorder compound = new CompoundBorder(current, this);
              parent.setBorder(compound);
          }
  
          //  Add component to the parent
  
          parent.add(component);
      }
docs: /*
  Install this Border on the specified component by replacing the
  existing Border with a CompoundBorder containing the original Border
  and our ComponentBorder
  
  This method should only be invoked once all the properties of this
  class have been set. Installing the Border more than once will cause
  unpredictable results.