~~~ This shows construct of lines. ~~~

import java.applet.Applet;
import java.awt.*;
public class line2 extends Applet{
	int h,w;
	public void init(){
		Dimension d=size();
		h=d.height;
		w=d.width;
	}
	public void paint(Graphics g){
			g.setColor(Color.blue);
for(int x=0;x<=11;x++){
		g.drawLine(w/3,(h/3)+x*10,(w/3)+x*10,110+h/3);
}
			g.setColor(Color.yellow);
for(int xx=0;xx<=11;xx++){
		g.drawLine(w/3+(xx*10),h/3,(w/3)+110,h/3+(xx*10));
}
	}
}

	

Àü ¸Þ´º·Î ³ª°¡±â