code: public Paint getFrameBorderPaint(Shape s) {
          switch (state) {
  
          case BACKGROUND_ENABLED:
              return frameBorderInactive;
  
          case BACKGROUND_ENABLED_WINDOWFOCUSED:
              return frameBorderActive;
          }
  
          return null;
      }
docs: Get the paint for the border.
  
  @param  s the border shape.
  
  @return the paint.