Applying border to a cone

Drawing a cone using gluCylinder() method is not as difficult as applying a black line running along its border. Does anyone know how to draw a border to a cone? I have drawn this cone using gluCylinder() command.