Program to make a basic triangle using Applet

0
931
Want create site? Find Free WordPress Themes and plugins.
 import java.awt.*;
import java.applet.*;
/*
<applet code="traingle.class" width=400 height=450></applet>
*/
public class traingle extends Applet
{
public void paint(Graphics g)
{
	int [] x={150,300,225};
	int [] y={150,150,25};
g.drawPolygon(x,y,3);
}
}
Did you find apk for android? You can find new Free Android Games and apps.

LEAVE A REPLY