// DrawnObject.java import java.awt.*; public class DrawnObject { int x, y; DrawnObject(int theX, int theY) { x = theX; y = theY; } DrawnObject() {}; public void paint (Graphics g) { g.fillOval(x, y, 10, 10); } }