private static void drawTriangleDown(Graphics gx,double x,double y,int size){
  gx.drawLine((int)(x),(int)(y + size),(int)(x - size),(int)(y - size));
  gx.drawLine((int)(x - size),(int)(y - size),(int)(x + size),(int)(y - size));
  gx.drawLine((int)(x + size),(int)(y - size),(int)(x),(int)(y + size));
}

private static void drawTriangleDown ( Graphics gx , double x , double y , int size ) { gx . drawLine ( ( int ) ( x ) , ( int ) ( y + size ) , ( int ) ( x - size ) , ( int ) ( y - size ) ) ; gx . drawLine ( ( int ) ( x - size ) , ( int ) ( y - size ) , ( int ) ( x + size ) , ( int ) ( y - size ) ) ; gx . drawLine ( ( int ) ( x + size ) , ( int ) ( y - size ) , ( int ) ( x ) , ( int ) ( y + size ) ) ; }
draws an triangle ( point at bottom ) .
