~~~ This shows a sliding of line from right to left. ~~~

import java.applet.Applet;
import java.awt.*;
public class line1 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);
}
	}
}

	

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