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

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