import java.awt.*;
import java.applet.*;

/**
 * This class reads PARAM tags from its HTML host page and sets
 * the color and label properties of the applet. Program execution
 * begins with the init() method. 
 */
public class OOP1 extends Applet
{
	xycoor location;
	public void init()
	{
		 
					  
	}


	public void paint (Graphics g)
	{
	
	location = new xycoor(10,50);
	     location.setX(12);
		 location.setY(1000);
		 g.drawString("x = " + String.valueOf(location.getX()) + ",  y = " + String.valueOf(location.getY()),50,50);
		
		 
		 
	}

}
 