import java.applet.*;
import java.awt.*;

public
class Main extends Applet
{
   int tabX[] = {80, 120, 200, 240, 200, 120};
   int tabY[] = {100, 20, 20, 100, 180, 180};
   public void paint (Graphics gDC)
   {
      gDC.setColor(Color.red);
      gDC.fillPolygon (tabX, tabY, 6);
   }
}

