import java.awt.*;

public class BorderedOval extends Oval {		
	
	public BorderedOval(int x, int y, int w, int h){
		super(x, y, w, h);		
	}			
	public void draw(Graphics g){
		super.draw(g);
		
		Rectangle r = getRectangle();
		r.x-=5; r.y-=5;
		r.height+=10; r.width+=10;
    g.setColor(Color.red); 
		g.drawRect(r.x, r.y, r.width, r.height);
		
	}	
	
}

