protected boolean drawBottomBorder(Component c,Graphics g,int x,int y,int width,int height){
  if (super.drawBottomBorder(c,g,x,y,width,height) && frame.isResizable()) {
    int startY=height - getBorderInsets(c).bottom;
    g.setColor(getFrameShadow());
    g.drawLine(CORNER_SIZE - 1,startY + 1,CORNER_SIZE - 1,height - 1);
    g.drawLine(width - CORNER_SIZE,startY + 1,width - CORNER_SIZE,height - 1);
    g.setColor(getFrameHighlight());
    g.drawLine(CORNER_SIZE,startY,CORNER_SIZE,height - 2);
    g.drawLine(width - CORNER_SIZE + 1,startY,width - CORNER_SIZE + 1,height - 2);
    return true;
  }
  return false;
}

protected boolean drawBottomBorder ( Component c , Graphics g , int x , int y , int width , int height ) { if ( super . drawBottomBorder ( c , g , x , y , width , height ) && frame . isResizable ( ) ) { int startY = height - getBorderInsets ( c ) . bottom ; g . setColor ( getFrameShadow ( ) ) ; g . drawLine ( CORNER_SIZE - 1 , startY + 1 , CORNER_SIZE - 1 , height - 1 ) ; g . drawLine ( width - CORNER_SIZE , startY + 1 , width - CORNER_SIZE , height - 1 ) ; g . setColor ( getFrameHighlight ( ) ) ; g . drawLine ( CORNER_SIZE , startY , CORNER_SIZE , height - 2 ) ; g . drawLine ( width - CORNER_SIZE + 1 , startY , width - CORNER_SIZE + 1 , height - 2 ) ; return true ; } return false ; }
draws the internalframeborder ' s bottom border .
