getBorder().paintBorder(this, graphics, 0, 0,
Border border = getBorder(); if (paintBorder && border != null) border.paintBorder(this, graphics, 0, 0,
  protected void paintBorder(Graphics graphics)  {    getBorder().paintBorder(this, graphics, 0, 0,                            getWidth(),                            getHeight());  }