import element.*; public class XMarks { public static void main(String args[]) { ConsoleWindow c = new ConsoleWindow(); DrawingWindow d = new DrawingWindow(); int centerX, centerY; final int RADIUS = 10; // size of the cross c.out.println("Enter the coordinates of the X:"); centerX = c.input.readInt(); centerY = c.input.readInt(); d.moveTo(centerX, centerY); // move to center d.move(-RADIUS,-RADIUS); // move northwest d.line(2*RADIUS,2*RADIUS); // draw to southeast d.move(0,-2*RADIUS); // move to northEast d.line(-2*RADIUS,2*RADIUS); // draw to southwest } }